UN_dispersion_var: Variance of a matrix

Description Usage Arguments Details Value Author(s) Examples

Description

Variance of a matrix by rows or columns

Usage

1
UN_dispersion_var(previous.name = "")

Arguments

previous.name

name of the default name in the menu

Details

UNaveragemenu.png

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

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_var('A')

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