standardizeUnitScale {multifunc}R Documentation

standardizeUnitScale

Description

standardizeUnitScale standardized a variable so its maximum is 1

Usage

standardizeUnitScale(afun, min0 = TRUE, maxValue = max(afun, na.rm = TRUE))

Arguments

afun

A vector of measurements of a function.

min0

Must a minimum value be greater than or equal to 0? Defaults to TRUE.

maxValue

The maximum valye by which the vector will be standardized. Defaults to the vector's maximum.

Details

Takes a vector and then divides it by a maximum value.

Value

Returns a standardized vector.

Author(s)

Jarrett Byrnes.


[Package multifunc version 0.9.4 Index]