is_exposure_constant {morse} | R Documentation |
Test in a well-formed argument to function 'survData' if the concentration
is constant and different from NA
for each replicate (each time-serie)
Description
Test in a well-formed argument to function 'survData' if the concentration
is constant and different from NA
for each replicate (each time-serie)
Usage
is_exposure_constant(x)
Arguments
x |
an object of class |
Value
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.
Examples
# (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)
[Package morse version 3.3.2 Index]