UN_dispersion_RSD: RSD dispersion of a matrix

Description Usage Arguments Details Value Author(s) Examples

Description

Relative standard deviation of a matrix by rows or columns

Usage

1
UN_dispersion_RSD(previous.name = "")

Arguments

previous.name

name of the default name in the menu

Details

UNaveragemenu.png

UNdispersionRSD.png 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)

Value

The output is saved in the variable var.dispersion

All

single numeric value

Row wise

numeric vector

Column wise

numeric vector

Author(s)

Riccardo Leardi and Gianmarco Polotti with contributions from Giorgio Marubini.Gruppo di Chemiometria (Divisione di Chimica Analitica della Societa' Chimica Italiana)

Examples

1
2
A<-matrix(1:20,5,4)
UN_dispersion_RSD('A')

polgia0/Chemometricmenus documentation built on May 28, 2019, 12:03 p.m.