rescale01: Rescale vector between 0 and 1

Description Usage Arguments Examples

View source: R/rescale.r

Description

Rescale a vector so its elements fall between 0 and 1

Usage

1

Arguments

x

Vector

...

Pass through additional arguments, such as 'na.rm = T'

Examples

1
2
3
4
5
## Not run: 
vector <- c(3, 4, 5, 2, 1, 0.99)
vector <- rescale01(vector, na.rm = T)

## End(Not run)

cdcrabtree/helprr documentation built on Dec. 24, 2017, 2:12 p.m.