Learn R Programming

rcellminer (version 1.4.2)

getRsd: 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).

concept

rcellminer

Examples

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

Run the code above in your browser using DataLab