Skip to contents

Provides names of the model response and predictors

Usage

parse_terms(model)

Arguments

model

An mgcv model object.

Value

A list with components response (the response variable name), predictors_factor (names of factor/character predictors), and predictors_numeric (names of numeric predictors).