View source: R/utility_functions.R
| tfuStandard | R Documentation |
Standardize the follow-up (early) time-points.
tfuStandard(tfu, tref=c(1,2))
tfu |
A vector of length |
tref |
A vector of integers of length 2 that defines the correlation
parameter |
A list containing the following components.
tfu |
Follow-up time points. |
stfu |
Standardized follow-up time-points, depending on the selected
reference categories |
# Early outcomes at 3, 6 and 12 months, and final at 24 months
# Standardized to units of 3 months if tref is c(1,2)
tfuStandard(c(3,6,12,24), tref=c(1,2))
# Standardized to yearly units if tref is c(1,2)
tfuStandard(c(3,6,12,24), tref=c(3,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.