Description Usage Arguments Details Value Author(s)
Use last-observation-carried-forward to impute missing dose values by hour.
1 2 3 4 5 6 7 8 | imputeDoses(
data,
idVar = "id",
dateVar = "date.dose",
infusionDoseTimeVar = NULL,
infusionDoseVar = NULL,
maxskips = 3
)
|
data |
data.frame; data set with dose information |
idVar |
character string; name of ID variable, defaults to id |
dateVar |
character string; name of date variable, defaults to date.dose |
infusionDoseTimeVar |
character string; name of infusion dose time variable |
infusionDoseVar |
character string; name of infusion dose variable |
maxskips |
integer; maximum number of missed doses that may be imputed |
Creates skips column
data.frame, containing dose data
Cole Beck
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.