plot8dncaca: bivariate plot for two categoric variables

Description Usage Arguments Value Examples

Description

(dn) produces an image matrix of the frequencies of the categoric variables. Several options are possible to give (i) different orders for the categories, (ii) different viewpoint of the probability table (joint, conditional) and (iii) different color scales.

Usage

1
plot8dncaca(xx, rred, ccod, title="", type="joint", ...)

Arguments

xx

data frame with two columns of the categoric variables 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. "joint" means joint probability; "row" mean conditional for each row and "column" means conditional for each column.

...

Further arguments to be passed to the image function.

Value

returns nothing but a scaled matrix is drawn.

Examples

1
2
 rebastaba3k("RESET"); # for R checking convenience
 plot8dncaca(rebastaba.dn4@df[, c(4, 5)], rred=list(rebastaba.dn4@red[[4]], rebastaba.dn4@red[[5]]), ccod=list(rebastaba.dn4@cod[[4]], rebastaba.dn4@cod[[5]]), title="Variables D & E");

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