completeCov | R Documentation |
Expand a set of covariate values into a data.set with reference value
completeCov(covlist, data, col.id = "ID", sigdigs = 2)
covlist |
A covariate specififed in a list. See ?expandCovLists. |
data |
See ?expandCovLists. |
col.id |
The subject ID column name. Necessary because quantiles sould be quantiles of distribution of covariate on subjects, not on observations (each subject contributes once). |
sigdigs |
Used for rounding of covariate values if using quantiles or if using a function to find reference. |
NMsim:::completeCov(covlist=list(covvar="WEIGHTB",values=c(30,60,90),ref=50),sigdigs=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.