See anatLmer for more detail

hanatLmer(formula, data, anatTree, ...)

Arguments

formula

The model formula

data

The data frame containing the right side of the formula

anatTree

The anatomical tree

...

Extra options (REML, control of parallel execution, etc.) passed on to anatLmer

Value

The anatomical tree with the model information added

Details

The volumes inside the anatomical hierarchy and the data must be of the same length and ordering.

Examples

# NOT RUN {
vols <- addVolumesToHierarchy(hdefs, allvols)
hLm <- hanatLmer(~Sex + (1|ID), gf, vols)
# }