PercentMax: A function to scale data to the percent of the maximum...

Description Usage Arguments Value See Also Examples

Description

This function rescales the columns in a data matrix to the percent of the maximum observed value. The variance is not scaled and missing values are ignored in the calculation.

Usage

1
PercentMax(DATA)

Arguments

DATA

A (non-empty) matrix with data values. Columns should be different traits and rows unique observations of those traits

Value

Returns a matrix with the same dimensions as DATA.

See Also

ZTrans, MeanCent

Examples

1
2
3
4
5
6
7
data(Nuclei)

colMeans(Nuclei, na.rm=TRUE)

Nuclei.PM<-PercentMax(Nuclei)

colMeans(Nuclei.PM, na.rm=TRUE)


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