Skip to contents

Get the terms for the fixed effect and the model matrix for the given formula and dataset.

Usage

get_terms(formula, data_list)

Arguments

formula

: model formula object (this should specify a LME model)

data_list

: the data, formatted as a list of datasets, as in the output of imp2list.

Value

A list with two elements: the fixed terms, and the model frame.

Author

Serena Defina, 2024.