Skip to contents

Build a model matrix from the fixed-effects part of a formula

Usage

fixedEffectsModelMatrix(formula_string, samples)

Arguments

formula_string

Formula string that may contain random effects

samples

Data frame of sample information

Value

output Model matrix for the fixed-effects formula