histprod | R Documentation |
Computes automatically histograms for a set of quantitative variables.
histprod(donnee, firstvar, lastvar = ncol(donnee), numr = 2,
numc = 2, adjust = 1)
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. |
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.
S Le
density
, hist
data(chocolates)
histprod(sensochoc, firstvar = 5, lastvar = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.