print.contin.table: Print object of class contin.table in HTML

Description Usage Arguments Value Author(s)

Description

Over-rides the print.contin.table function in package Deducer to format a contin.table object for HTML display.

Usage

1
2
## S3 method for class 'contin.table'
print(x, digits = 3, prop.r = TRUE, prop.c = TRUE, prop.t = FALSE, expected.n = FALSE, residuals = FALSE, std.residuals = FALSE, adj.residuals = FALSE, no.tables = FALSE, strata.name, table.name, ...)

Arguments

x

An object of class “contin.table”

digits

Number of significant digits to print.

prop.r

Logical indicating whether the proportion of row totals should be displayed in each cell.

prop.c

Logical indicating whether the proportion of column totals should be displayed in each cell.

prop.t

Logical indicating whether the proportion of the grand total should be displayed in each cell.

expected.n

Logical indicating whether the expected values, given the row and column totals, should be displayed in each cell.

residuals

Logical indicating whether the residuals, defined as actual frequencies minus expected frequencies, should be printed in each cell.

std.residuals

Logical indicating whether standardized residuals, defined as residuals divided by the square root of the expected value, should be displayed in each cell.

adj.residuals

Logical indicating whether adjusted residuals should be displayed in each cell.

no.tables

Logical indicating that no contingency table should be printed.

strata.name

Character vector indicating name of stratification variable

table.name

Character vector indicating the unique combination of row and column variables.

...

Additional commands passed to print function.

Value

A character vector of length 1 containing HTML-formatted text designed to display the contingency table.

Author(s)

Bill Altermatt


DeducerRichOutput documentation built on May 2, 2019, 4:53 p.m.