rescale {ggplot2}R Documentation

Rescale numeric vector

Description

Rescale numeric vector to have specified minimum and maximum.

Usage

rescale(x, to=c(0,1), from=range(x, na.rm=TRUE), clip = TRUE)

Arguments

x
to
from
clip

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot2 version 0.8.2 Index]