Learn R Programming

FIACH (version 0.1.2)

colsd: Compute column standard deviations

Description

This function computes the standard deviation of each column in a matrix.

Usage

colsd(X)

Arguments

X
X must be a numeric matrix.

Value

Returns a vector containing the column standard deviations.

Examples

Run this code
mat<-matrix(rnorm(100*100),ncol=100)
a<-colsd(mat)

Run the code above in your browser using DataLab