Learn R Programming

ggfortify (version 0.4.17)

unscale: Backtransform scale-ed object

Description

Backtransform scale-ed object

Usage

unscale(data, center = NULL, scale = NULL)

Value

data.frame

Arguments

data

Scaled data

center

Centered vector

scale

Scale vector

Examples

Run this code
df <- iris[-5]
ggfortify::unscale(base::scale(df))

Run the code above in your browser using DataLab