unscale_uncenter: unscale_uncenter

View source: R/R_preprocessing.R

unscale_uncenterR Documentation

unscale_uncenter

Description

Given a dataframe, un scale and un center the continous features

Usage

unscale_uncenter(x, categoricalFeatureCols, colMeans, colSd)

Arguments

x

A dataframe in order to be processed.

categoricalFeatureCols

A vector of the categorical features, we don't want to scale/center these. Should be 1-indexed.

colMeans

A vector of the means to add to each column.

colSd

A vector of the standard deviations to rescale each column with.

Value

A dataset x in it's original scaling


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