validate_variance: Check properties for a covariance matrix

validate_varianceR Documentation

Check properties for a covariance matrix

Description

Check properties for a covariance matrix

Usage

validate_variance(
  x,
  dimension = dim(as.matrix(x)),
  what = "var.ini",
  where = ""
)

Arguments

x

number or matrix.

dimension

numeric vector with dimensions of the matrix

what

string. What are we validating

where

string. Model component where coordinates were specified. For error messages only. E.g. where = 'competition specification'.

Value

TRUE if all checks pass


famuvie/breedR documentation built on Aug. 6, 2024, 9:10 p.m.