Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parse.formula

Parse formula


Description

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.

Usage

parse.formula(formula, data, env = parent.frame())

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.

Value

Dataset including selected columns and interactions.


ranger

A Fast Implementation of Random Forests

v0.12.1
GPL-3
Authors
Marvin N. Wright [aut, cre], Stefan Wager [ctb], Philipp Probst [ctb]
Initial release
2020-01-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.