File: parse.formula.Rd

package info (click to toggle)
r-cran-ranger 0.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,160 kB
  • sloc: cpp: 8,324; sh: 13; makefile: 5; ansic: 2
file content (23 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formula.R
\name{parse.formula}
\alias{parse.formula}
\title{Parse formula}
\usage{
parse.formula(formula, data, env = parent.frame())
}
\arguments{
\item{formula}{Object of class \code{formula} or \code{character} describing the model to fit.}

\item{data}{Training data of class \code{data.frame}.}

\item{env}{The environment in which the left hand side of \code{formula} is evaluated.}
}
\value{
Dataset including selected columns and interactions.
}
\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.
}