h_add_covariance_terms {mmrm} | R Documentation |
Add Individual Covariance Variables As Terms to Formula
h_add_covariance_terms(f, covariance)
f |
( |
covariance |
( |
stats::update()
is used to append the covariance structure and the environment
attribute will not be changed. This ensures the returned formula and the input formula
have the same environment.
A new formula with included covariance terms.