Learn R Programming

s20x (version 3.3.0)

prepCrosstabList: Prepare row-distribution table summaries

Description

Converts a two-way count table into the row, column, whole-table, and total summaries used by `rowdistr()`.

Usage

prepCrosstabList(crosstablist)

Value

A list containing row proportions, column proportions, whole-table proportions, and totals.

Arguments

crosstablist

matrix containing a two-way table of counts.