scaleIt: Scale a variable

Description Usage Arguments Value Author(s)

View source: R/scale.it.R

Description

Scale a variable to have a particular mean/sd (or min/max)

Usage

1
scaleIt(x, mean = NULL, sd = NULL, min = NULL, max = NULL)

Arguments

x

the variable to be scaled

mean

the mean you wish the distribution to have

sd

the sd you wish the distribution to have

min

the min you wish the distribution to have

max

the max you wish the distribution to have

Value

the scaled variable

Author(s)

Dustin Fife


dustinfife/fifer documentation built on Oct. 31, 2020, 3:36 p.m.