unnormalize: Unnormalize variable

Description Usage Arguments

View source: R/recipes_utils.R

Description

Unormalizes variable using standard deviation and mean from a recipe object. See ?recipes.

Usage

1
unnormalize(x, recipe, var, index = 1)

Arguments

x

Numeric vector to normalize.

recipe

Trained recipe object.

var

Variable name in the recipe object.

index

Determines which step_normlize to use. If step_normalize is called twice, you will need to specify index = 2 to extract the information from the second step_normalize.


gacolitti/tidyroll documentation built on Sept. 13, 2020, 8 p.m.