Creates a dataset for reproduction toxicity analysis
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.
reproData(x)
x |
a dataframe as expected by |
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.
An object of class reproData
.
# (1) Load reproduction dataset data(cadmium1) # (2) Create an object of class "reproData" dat <- reproData(cadmium1) class(dat)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.