reproData {morse} | R Documentation |
Creates a dataset for reproduction toxicity analysis
Description
This function creates a reproData
object from experimental
data provided as a data.frame
. The resulting object can then be used
for plotting and model fitting. The reproData
class is a sub-class
of survData
, meaning that all functions and method available for
survival analysis can be used with reproData
objects.
Usage
reproData(x)
Arguments
x |
a dataframe as expected by |
Details
The x
argument contains the experimental data, and should have
the same structure than the argument of survData
, plus a single
additional column providing the total number of offspring observed since the
last time point. The function fails if x
does not meet the
expected requirements. Please run reproDataCheck
to ensure
x
is well-formed.
Note that experimental data with time-variable exposure are not supported.
Value
An object of class reproData
.