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

Description Usage Arguments Value Examples

View source: R/getRsd.R

Description

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

Usage

1
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

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

rcellminer documentation built on Nov. 26, 2020, 2:02 a.m.