histprod {SensoMineR} | R Documentation |
Histogram for each descriptor
Description
Computes automatically histograms for a set of quantitative variables.
Usage
histprod(donnee, firstvar, lastvar = ncol(donnee), numr = 2,
numc = 2, adjust = 1)
Arguments
donnee |
a data frame |
firstvar |
the position of the first endogenous variable |
lastvar |
the position of the last endogenous variable (by default the last column of |
numr |
the number of histograms per row (by default 2) |
numc |
the number of histograms per column (by default 2) |
adjust |
the bandwidth used is actually 'adjust*bw'. This makes it easy to specify values like "half the default" bandwidth. |
Details
Displays histograms with a common Y-axis as well as the local estimator of the density for each descriptor, hence the
adjust
parameter to fill in. Displays also the normal distribution with mean and variance the respective values
estimated for each descriptor.
Author(s)
S Le
See Also
Examples
data(chocolates)
histprod(sensochoc, firstvar = 5, lastvar = 10)
[Package SensoMineR version 1.27 Index]