powered by
Helper function to calculate standard deviation of matrix by columns
colSD(data_in)
Vector of standard deivations of columns of data_in.
matrix of numeric values
set.seed(1) colSD(matrix(rnorm(100), ncol=5))
Run the code above in your browser using DataLab