generic: Build a generic model

Description Usage Arguments Details Value

View source: R/generic.R

Description

Check conformity of arguments and return a generic object.

Usage

1
generic(incidence, covariance, precision)

Arguments

incidence

matrix-like object

covariance

matrix-like object

precision

matrix-like object

Details

A generic random effect stores the incidence and structure matrices in Matrix form, which tries to take advantage of sparsity, if it exists.

Value

A list with elements incidence.matrix, structure.matrix and structure.type, which is a string indicating either covariance or precision.


famuvie/breedR documentation built on Sept. 6, 2021, 4:50 a.m.