Usage
model_spec(formula, data, family = stats::gaussian(), REML = TRUE, ...)Arguments
- formula
A model formula. The current implemented grammar is
y ~ fixed + animal(1 | id, pedigree = ped), ory ~ fixed + animal(1 | id)whendatais anhs_data()object with a pedigree component.- data
A data frame containing model variables, or an
hs_data()object whosephenotypescomponent contains the model variables. Whendatais anhs_dataobject, formula arguments such aspedigree = pedigreecan refer to named components in the bundle, andanimal(1 | id)uses the bundle pedigree by default.- family
A response family. The current parser accepts only
gaussian().- REML
Logical; whether the target Gaussian animal model would use REML.
- ...
Reserved for future arguments.