Learn R Programming

rbmi (version 1.5.1)

is_valid_covariance_prior: Check for Valid Covariance and Prior Combination

Description

This function checks if the specified covariance structure and prior combination is valid.

Usage

is_valid_covariance_prior(prior_cov, covariance)

Value

Logical scalar indicating if the combination is valid, with a msg attribute in case it is not.

Arguments

prior_cov

A character string indicating the prior covariance type.

covariance

A character string indicating the covariance structure.