rev_unit_scale: Reverse unit scaling

Description Usage Arguments Value Examples

Description

Reverse unit scaling

Usage

1
rev_unit_scale(x, y = NULL, na.rm = FALSE)

Arguments

x

object to be scaled back to original scale

y

optional object that has center, scale, and adj attributes to use on x. If y is not used, these attributes will be taken from x.

Value

numeric vector in original scale

Examples

1
2
3
z <- rnorm(10000, 100, 15)
y <- unit_scale(z)
rev_unit_scale(y)

iamamutt/rbaes documentation built on May 18, 2019, 1:27 a.m.