Description Usage Arguments Details Value Author(s) Examples
Variance of a matrix by rows or columns
1 | UN_dispersion_var(previous.name = "")
|
previous.name |
name of the default name in the menu |
Allcalculation made on the whole matrix
Row wisecalculation made by rows
Column wisecalculation made by columns
In statistics it is useful to work with the concept of squared
deviations from a central value; the average of the squared deviations
of the values from the mean is the Variance. Consequently,
the unit of measure of the variance is the squared data unit of the values.
The estimator of the variance is the Sample Variance
(var(x) in R notation), defined as the squared standard deviation.
R console syntax: x_var <- var(x)
The output is saved in the variable var.dispersion
All |
single numeric value |
Row wise |
numeric vector |
Column wise |
numeric vector |
Riccardo Leardi and Gianmarco Polotti with contributions from Giorgio Marubini.Gruppo di Chemiometria (Divisione di Chimica Analitica della Societa' Chimica Italiana)
1 2 | A<-matrix(1:20,5,4)
UN_dispersion_var('A')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.