getRsd: Computes the relative standard deviation values with respect...

View source: R/getRsd.R

getRsdR Documentation

Computes the relative standard deviation values with respect to the columns of a matrix or data.frame.

Description

Computes the relative standard deviation values with respect to the columns of a matrix or data.frame.

Usage

getRsd(dat, onlyReturnMedian = TRUE)

Arguments

dat

a matrix or data.frame with numeric values.

onlyReturnMedian

a logical value indicating whether only the median column RSD value should be returned (vs. all RSD values).

Value

median RSD value over the data set columns or all RSD values, depending on value of onlyReturnMedian (default=TRUE).

Examples

A <- matrix(rnorm(10*60), nrow=10)
getRsd(A)
getRsd(A, onlyReturnMedian=FALSE)


CBIIT/rcellminer documentation built on Aug. 8, 2024, 12:15 p.m.