addCovariate: Add covariate expression to a function string

View source: R/autocovar.R

addCovariateR Documentation

Add covariate expression to a function string

Description

Add covariate expression to a function string

Usage

addCovariate(funstring, varName, covariate, theta, isLog)

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 added (at the appropriate place)

theta

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

isLog

a boolean signifying the presence of log-transformation in the funstring

Value

returns the modified string with the covariate added to function string

Author(s)

Vipul Mann, Matthew Fidler


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

Related to addCovariate in nlmixr...