The reproDataCheck
function can be used to check if an object
containing data from a reproduction toxicity assay meets the expectations
of the function reproData
.
reproDataCheck(data, diagnosis.plot = TRUE)
The function returns a data.frame
similar to the one returned
by survDataCheck
, except that it may contain the following
additional error id
s:
NreproInteger
: column Nrepro
contains values of class other than integer
Nrepro0T0
: Nrepro
is not 0 at time 0 for each concentration and each replicate
Nsurvt0Nreprotp1P
: at a given time \(T\), the number of
alive individuals is null and the number of collected offspring is not null
for the same replicate and the same concentration at time \(T+1\)
any object
if TRUE
, produces a diagnosis plot
Since in morse' reproduction data sets are a special case of survival data sets,
reproDataCheck
performs the same verifications than
survDataCheck
plus additional ones that are specific to
reproduction data.
reproData