View source: R/kinfitr_bloodmodels.R
blmod_tidyinput | R Documentation |
Tidies the inputs to blood models ready for modelling
blmod_tidyinput(time, activity, Method = NULL, weights = NULL)
time |
The time of each measurement in seconds |
activity |
The radioactivity of each measurement |
Method |
Optional. The method of collection, i.e. "Discrete" or "Continuous" |
weights |
Optional. Weights of each measurement. |
A blood data frame ready for modelling
blooddata <- pbr28$blooddata[[1]]
blooddata <- bd_blood_dispcor(blooddata)
blood <- bd_extract(blooddata, output = "Blood")
blood <- blmod_tidyinput(blood$time,
blood$activity,
Method = blood$Method)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.