twoway (version 0.6.2)

print.twoway: Print method for two-way tables

Description

Print method for two-way tables

Usage

# S3 method for twoway
print(x, digits = getOption("digits"), border = 2,
  zapsmall = TRUE, ...)

Arguments

x

a numeric matrix

digits

number of digits to print

border

if 0, the components "twoway" object ("overall", "roweff", "coleff", "residuals") are printed separately; if 1, the row, column and overall effects are joined to the residuals in a single table. if 2, row, column, overall and residuals are joined, and decorated with horizontal and vertical rules

zapsmall

a logical value; if TRUE small residuals are printed as 0.

...

other arguments passed down

Examples

Run this code
# NOT RUN {
data(taskRT)
task.2way <- twoway(taskRT)
print(task.2way)
print(task.2way, border=0)

data(sentRT)
sent.2way <- twoway(sentRT)
print(sent.2way)
print(sent.2way, border=1)

# }

Run the code above in your browser using DataLab