histprod: Histogram for each descriptor

Description Usage Arguments Details Author(s) See Also Examples

View source: R/histprod.R

Description

Computes automatically histograms for a set of quantitative variables.

Usage

1
2
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 donnee)

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<e9>bastien L<ea>

See Also

density, hist

Examples

1
2
data(chocolates)
histprod(sensochoc, firstvar = 5, lastvar = 10)

SensoMineR documentation built on May 2, 2019, 5:56 p.m.