Survival function for "SD" model with external concentration changing with time
SurvSD_var(
Cw,
time,
kd,
hb,
z,
kk,
interpolate_length = NULL,
interpolate_method = c("linear", "constant")
)
A data.frame with exposure columns time
and conc
and
the resulting probabilisty of survival in Psurv_XX
column where
XX
refer to an MCMC iteration
A scalar of external concentration
A vector of time
a vector of parameter
a vector of parameter
a vector of parameter
a vector of parameter
if display.time
is NULL
, the argument
interpolate_length
can be used to provide a sequence from 0 to maximum of
the time of exposure in original dataset (used for fitting).
The interpolation method for concentration.
See package deSolve
for details.