removeCovariate: Remove covariate expression from a function string

View source: R/autocovar.R

removeCovariateR Documentation

Remove covariate expression from a function string

Description

Remove covariate expression from a function string

Usage

removeCovariate(funstring, varName, covariate, theta)

Arguments

funstring

a string giving the expression that needs to be modified

varName

the variable to which the given string corresponds to in the model expression

covariate

the covariate expression that needs to be removed (from the appropriate place)

theta

a list of names of the 'theta' parameters in the 'fit' object

Value

returns the modified string with the covariate removed from the function string

Author(s)

Vipul Mann, Matthew Fidler


nlmixrdevelopment/nlmixr documentation built on Aug. 22, 2023, 2:16 p.m.