See anatAnova for more detail

hanatAnova(formula, data, anatTree)

Arguments

formula

The model formula

data

The data frame containing the right side of the formula

anatTree

The anatomical tree

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 <- hanatAnova(~Sex, gf, vols)
# }