UN_plot_density: Density plot of a vector

Description Usage Arguments Details Value Author(s) Examples

Description

Density plot of a vector

Usage

1
UN_plot_density(previous.name = "")

Arguments

previous.name

name of the default name in the menu

Details

UNplotmenu.png

UNplotdensity.png The data distribution plays an important role in statistics; chemometrics is not so happy with this concept because the number of available data is often small and the type of distribution is often unknown. Actually, the value of a variable x (say the concentration of a chemical compound in a set of n samples) will have an Empirical Distribution; whenever possible the distribution of x should be visually inspected to obtain a better insight of the data. A number of different plots can be used for this purpose. This function calls the Probability density function/trace (PDF), which is a smoothed line obtained using the top of the histogram boxes as points. The smoothing parameters influence the appearance of the curve; the ordinate is scaled to give an area of 1 under the curve.

Value

A window plot

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<-1:20
UN_plot_density('A')

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