standardize_table: Produce a standardised table using the Iterative Proportional...

View source: R/standardise_crosstabs.R

standardize_tableR Documentation

Produce a standardised table using the Iterative Proportional Fitting method

Description

This ancillary function compute the standardised version of the input cross-tab using the Iterative Proportional Fitting method

Usage

standardize_table(
  table,
  delta = 0.001,
  marginal.type = "average",
  custom.row.totals = NULL,
  custom.col.totals = NULL
)

Arguments

table

Input cross-tabulation.

delta

The desired level of accuracy

marginal.type

The desired marginal type

custom.row.totals

Custom row totals

custom.col.totals

Custom col totals

Value

List containing the cross-tabulation in standardised format and number of iteration.


chisquare documentation built on Oct. 30, 2024, 9:11 a.m.