R/minc_hierarchical_anatomy.R
hanatLmer.RdSee anatLmer for more detail
hanatLmer(formula, data, anatTree, ...)
| 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 |
The anatomical tree with the model information added
The volumes inside the anatomical hierarchy and the data must be of the same length and ordering.
# NOT RUN { vols <- addVolumesToHierarchy(hdefs, allvols) hLm <- hanatLmer(~Sex + (1|ID), gf, vols) # }