Description Usage Arguments Details Value Author(s) Examples
Relative standard deviation of a matrix by rows or columns
1 | UN_dispersion_RSD(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
The measures of spread provided by the standard deviation and variance
are expressed in the same unit as the data. If data with different
units ought to be compared or the spread is best represented in percent
of the central value (as done in Analytical Chemistry to express the
precision, for example) it is better to use a measure which is dimension
free. Such a measure is the Coefficient of variation or
Realtive standard deviation(RSD).
R console notation: x_rsd <- 100*sd(x)/mean(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_RSD('A')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.