preprocess_training: preprocess_training

View source: R/R_preprocessing.R

preprocess_trainingR Documentation

preprocess_training

Description

Perform preprocessing for the training data, including converting data to dataframe, and encoding categorical data into numerical representation.

Usage

preprocess_training(x, y)

Arguments

x

A data frame of all training predictors.

y

A vector of all training responses.

Value

A list of two datasets along with necessary information that encodes the preprocessing.


Rforestry documentation built on March 31, 2023, 11:33 p.m.