Column-wise means and variances | R Documentation |
Column-wise means and variances of a matrix.
colmeansvars(x, std = FALSE, parallel = FALSE)
x |
A matrix with the data. |
std |
A boolean variable specyfying whether you want the variances (FALSE) or the standard deviations (TRUE) of each column. |
parallel |
A boolean value for parallel version. |
This function cacluates the column-wise means and variances (or standard deviations).
A matrix with two rows. The first contains the means and the second contains the variances (or standard deviations).
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Manos Papadakis papadakm95@gmail.com.
pooled.colVars
colmeansvars( as.matrix(iris[, 1:4]) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.