Description Usage Arguments Details Value Author(s) Examples
Density plot of a vector
1 | UN_plot_density(previous.name = "")
|
previous.name |
name of the default name in the menu |
Vectorname of the vector dataset
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.
A window plot
Riccardo Leardi and Gianmarco Polotti with contributions from Giorgio Marubini.Gruppo di Chemiometria (Divisione di Chimica Analitica della Societa' Chimica Italiana)
1 2 | A<-1:20
UN_plot_density('A')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.