Test in a well-formed argument to function 'survData' if the concentration is constant and different from NA for each replicate (each time-serie)
Test in a well-formed argument to function 'survData' if the concentration
is constant and different from NA for each replicate (each time-serie)
is_exposure_constant(x)
x |
an object of class |
a boolean TRUE if concentration in replicate is constant,
or FALSE if the concentration in at least one of the replicates is time-variable,
and/or if NA occures.
# (1) Load the survival data set and test if concentration in replicates is constant
data("propiconazole")
is_exposure_constant(propiconazole)
is_exposure_constant(survData(propiconazole))
# (1) Load the survival data set and test if concentration in replicates is constant
data("propiconazole_pulse_exposure")
is_exposure_constant(propiconazole_pulse_exposure)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.