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))

Arguments

x
to
from

Details

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples






[Package ggplot2 version 0.5.5 Index]