mapVector: mapVector

Description Usage Arguments

View source: R/visualization.R

Description

Helper mapping function to map vector into range (adapted from: http://michael.hahsler.net/SMU/ScientificCompR/code/map.R)

Usage

1
mapVector(x, range = c(0, 1), from.range = NA)

Arguments

x

Input numeric vector.

range

The range that will be used for mapping.


enriquea/cnveR documentation built on May 13, 2017, 6:09 p.m.