vec.transform: Transform a vector to have a different range

Description Usage Arguments Value

Description

This function takes a vector and transforms it to have a new range, given the input, or the default values of [0, 1].

Usage

1
vec.transform(x, min.val = 0, max.val = 1)

Arguments

x

the vector to transform

min.val

the minimum value of the new range

max.val

the maximum value of the new range

Value

A vector of the transformed input.



Search within the brainGraph 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.