tabx: Prints univariate and bivariate frequency table.

Description Usage Arguments Author(s) See Also Examples

View source: R/MAPLES.r

Description

Prints univariate or a bivariate frequency distribution table including marginal distribution and total number of cases.

Usage

1
tabx(x, y, prow = FALSE, pcol = FALSE, chisq=FALSE )

Arguments

x

a vector which can be interpred as factor.

y

an optional second vector which can be interpreted as factor (columns in the contingency table).

prow

if TRUE it adds a bivariate table containing row percentages.

pcol

if TRUE it adds a bivariate table containing column percentages.

chisq

gives the results for a Chi square test for independence of all factors.

Author(s)

Roberto Impicciatore [email protected]

See Also

table, summary.table,

Examples

1
2
tabx(demogr$sex,demogr$edu,chisq=TRUE)
tabx(demogr$sex,demogr$edu,prow=TRUE,pcol=TRUE)

MAPLES documentation built on May 30, 2017, 12:52 a.m.