View source: R/predict_ode.survFit.R
predict_ode.survFit | R Documentation |
survFit
objectsThis is the generic predict
S3 method for the survFit
class.
It provides predicted survival rate for "SD" or "IT" models under constant or time-variable exposure.
## S3 method for class 'survFit'
predict_ode(
object,
data_predict = NULL,
spaghetti = FALSE,
mcmc_size = 1000,
hb_value = TRUE,
interpolate_length = 100,
interpolate_method = "linear",
hb_valueFORCED = NA,
...
)
object |
An object of class |
data_predict |
A dataframe with three columns |
spaghetti |
If |
mcmc_size |
Can be used to reduce the number of mcmc samples in order to speed up
the computation. |
hb_value |
If |
interpolate_length |
Length of the time sequence for which output is wanted. |
interpolate_method |
The interpolation method for concentration. See package |
hb_valueFORCED |
If |
... |
Further arguments to be passed to generic methods |
a list
of data.frame
with the quantiles of outputs in
df_quantiles
or all the MCMC chaines df_spaghetti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.