histig {ig}R Documentation

Histogram, box-plot and estimated pdf of the IGTD

Description

The function histig() produces a histogram and a a box-plot for the data. Also, the estimated pdf may be sketched on the histogram.

Usage

histig(x, main = "Histogram and boxplot", xlab = "Data", ylab = "Frequency",
pdf = "FALSE", kernel.pdf = "normal", col = NULL,
boxplot = "TRUE", col.pdf = 1, col.boxplot = 4)

Arguments

x Vector of observations.
main A title of histogram.
xlab A title for the x axis.
ylab A title for the x axis.
pdf Logical; if TRUE, the pdf is sketched on the histogram, otherwise not.
kernel.pdf Kernel of the pdf of the associated symmetrical distribution by means of which the IGTD is obtained. The kernels: "Laplace", "logistic", "normal" and "t" are available.
col Color inside the histogram.
boxplot Logical; if TRUE (default), the boxplot is plotted, otherwise not.
col.pdf Color of the estimated pdf curve.
col.boxplot Color inside the boxplot.

Details

The function histig() simultaneously produces a box-plot and a histogram for the data. The box-plot may be supressed by the instruction boxplot=FALSE. Also, the estimated pdf may be sketched on the histogram adding the instruction pdf=TRUE.

Value

The function histig() carries out an exploratory graphical analysis.

Author(s)

Víctor Leiva <victor.leiva@uv.cl>, Hugo Hernández <hugo.hernandez@msn.com>, and Antonio Sanhueza <asanhue@ufro.cl>.


[Package ig version 1.0 Index]