histig {ig} | R Documentation |
The function histig()
produces a histogram and a a box-plot for the data. Also, the estimated pdf
may be sketched on the histogram.
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)
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. |
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
.
The function histig()
carries out an exploratory graphical analysis.
Víctor Leiva <victor.leiva@uv.cl>, Hugo Hernández <hugo.hernandez@msn.com>, and Antonio Sanhueza <asanhue@ufro.cl>.