removeCovVar: Remove covariate from function string

removeCovVarR Documentation

Remove covariate from function string

Description

Function to remove covariates from a given variable's equation in the function string text

Usage

removeCovVar(fitobject, varName, covariate, categorical = FALSE, isHS = FALSE)

Arguments

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

Value

returns a list containing the updated model and the parameter names for the covariates added

Author(s)

Vipul Mann, Matthew Fidler


nlmixr documentation built on March 27, 2022, 5:05 p.m.

Related to removeCovVar in nlmixr...