parse.formula: Authors: Marvin N. Wright, Gregor DeCillia

Description Usage Arguments Details Value

View source: R/formula.R

Description

taken from source code for ranger package; not exported with package

Usage

1

Arguments

formula

Object of class formula or character describing the model to fit.

data

Training data of class data.frame.

env

The environment in which the left hand side of formula is evaluated.

Details

Parse formula and return dataset containing selected columns. Interactions are supported for numerical columns only. An interaction column is the product of all interacting columns.

Value

Dataset including selected columns and interactions.


piRF documentation built on July 1, 2020, 7:51 p.m.