Remove covariate expression from a function string
Remove covariate expression from a function string
removeCovariate(funstring, varName, covariate, theta)
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 |
returns the modified string with the covariate removed from the function string
Vipul Mann, Matthew Fidler
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.