getX-methods: Get model matrix

getXR Documentation

Get model matrix

Description

Uses the user-specified formula to build a model matrix.

Usage

getX(object, ...)

## S4 method for signature 'formula'
getX(object, df, newdf = df)

Arguments

object

object of relevant class (see signature of method)

...

additional argument list that might never be used

df

the data.frame to build the model matrix against.

newdf

the data.frame to create the model matrix for.

Value

a matrix.

Note

getX is intended to be used internally


flr/FLa4a documentation built on Dec. 21, 2024, 9:28 p.m.