View source: R/kinfitr_bloodmodels.R
predict_blood_splines | R Documentation |
Predicts values for new times for blood splines fits.
predict_blood_splines(object, newdata = NULL)
object |
Blood splines fit. |
newdata |
A new data list, including times to be predicted for. |
Model predictions
blooddata <- pbr28$blooddata[[1]]
blood <- bd_extract(blooddata, output = "Blood")
blood_fit <- blmod_splines(blood$time,
blood$activity,
Method = blood$Method)
predict_blood_splines(blood_fit, newdata=list(time=1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.