validate_variance: Check properties for a covariance matrix

Description Usage Arguments Value

Description

Check properties for a covariance matrix

Usage

1
2
3
4
5
6
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 Sept. 6, 2021, 4:50 a.m.