h_add_covariance_terms {mmrm} | R Documentation |
Add Individual Covariance Variables As Terms to Formula
Description
Add Individual Covariance Variables As Terms to Formula
Usage
h_add_covariance_terms(f, covariance)
Arguments
f |
( |
covariance |
( |
Details
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.
Value
A new formula with included covariance terms.
[Package mmrm version 0.3.15 Index]