removeCovVar | R Documentation |
Function to remove covariates from a given variable's equation in the function string text
removeCovVar(fitobject, varName, covariate, categorical = FALSE, isHS = FALSE)
fitobject |
an nlmixr 'fit' object |
varName |
a string giving the variable name to which covariate needs to be added |
covariate |
a string giving the covariate name; must be present in the data used for 'fit' |
categorical |
a boolean to represent if the covariate to be added is categorical |
isHS |
a boolean to represent if the covariate to be added is hockey-stick normalized |
returns a list containing the updated model and the parameter names for the covariates added
Vipul Mann, Matthew Fidler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.