Learn R Programming

mmrm (version 0.3.14)

h_reconcile_cov_struct: Reconcile Possible Covariance Structure Inputs

Description

Reconcile Possible Covariance Structure Inputs

Usage

h_reconcile_cov_struct(formula = NULL, covariance = NULL)

Value

The value covariance if it's provided or a covariance structure derived from the provided formula otherwise. An error is raised of both are provided.

Arguments

formula

(formula)
the model formula, see details.

covariance

(cov_struct)
a covariance structure type definition as produced with cov_struct(), or value that can be coerced to a covariance structure using as.cov_struct(). If no value is provided, a structure is derived from the provided formula.