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.


skayondo/breed_forest documentation built on Aug. 11, 2020, 12:35 a.m.