plot8dncoca: bivariate plot for a continuous and a categoric variables

Description Usage Arguments Value Examples

Description

(dn) produces a series of univariate diagram of the continuous variables for each category of the categoric variable

Usage

1
plot8dncoca(xx, rred, ccod, title="", type="smooth", ...)

Arguments

xx

data frame with two columns of the continuous variable (in first position) and the categoric variable (in second position) to be plotted

rred

list of two components with the ranges of the representation

ccod

list of two components with the common ranges to be indicated in the diagram.

title

(character The title to be given to the plot.

type

type of representation. "smooth" means density plots else histograms are drawn.

...

Further arguments to be passed to the plot or hist function. xlim must not be provided this way since it is already given by rred[[1]].

Value

returns nothing but a series of diagrams (as many as representation categories of the second variable) is drawn.

Examples

1
2
3
 rebastaba3k("RESET"); # for R checking convenience
 par(mfrow=c(2, 1));
 plot8dncoca(rebastaba.dn4@df[, c(1, 4)], rred=list(rebastaba.dn4@red[[1]], rebastaba.dn4@red[[4]]), ccod=list(rebastaba.dn4@cod[[1]], rebastaba.dn4@cod[[4]]), xlab="A", ylab="density", title="Variable D");

rebastaba documentation built on May 2, 2019, 5:24 p.m.