extract_predictors {pcsstools}R Documentation

Extract independent variables from a formula

Description

Extract independent variables from a formula

Usage

extract_predictors(formula = formula())

Arguments

formula

an object of class formula.

Value

A list with a character vector of all predictors and a logical value indicating whether the model includes an intercept term.


[Package pcsstools version 0.1.2 Index]