mapCoordinatesToValue: Map arbitrary numeric vector to a given range of values.

Description Usage Arguments Value Author(s)

Description

Map arbitrary numeric vector to a given range of values. From a given numeric vector z the range is determined and the values are linearly mapped onto the interval given by val.range. This funtion can be used in order to map arbitrary vectors to a given range of values.

Usage

1
mapCoordinatesToValue(z, val.range=c(0.5, 1))

Arguments

z

numeric vector.

val.range

numeric vector of lengths two (default c(.5, 1)).

Value

numeric vector

Author(s)

Mark Heckmann



Search within the OpenRepGrid package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.