Learn R Programming

mariposa (version 0.7.3)

print.summary.crosstab: Print summary of crosstab results (detailed output)

Description

Displays the full cross-tabulation table for a crosstab result, with sections controlled by the boolean parameters passed to summary.crosstab. For grouped analyses, a separate table is displayed for each group combination.

Usage

# S3 method for summary.crosstab
print(x, ...)

Value

Invisibly returns the input object x.

Arguments

x

A summary.crosstab object created by summary.crosstab.

...

Additional arguments (not used).

See Also

crosstab for the main analysis, summary.crosstab for summary options.

Examples

Run this code
result <- crosstab(survey_data, gender, region)
summary(result)                       # full table
summary(result, percentages = FALSE) # counts only

Run the code above in your browser using DataLab