contingency.data.break {InPosition}R Documentation

Bootstrap or permutation resampling for contingency tables

Description

Bootstrap or permutation resampling for contingency tables. More specifically, for correspondence analysis (epCA).

Usage

contingency.data.break(DATA, boot = FALSE)

Arguments

DATA

A contingency table to resample.

boot

a boolean. If TRUE, use bootstrap (resample with replacement) resampling. If FALSE, use permutation (resample with no replacement).

Value

A resampled contingency table.

Author(s)

Joseph Dunlop and Derek Beaton

See Also

epCA, epCA.inference.battery

Examples

	data(authors)
	boot.authors <- contingency.data.break(authors$ca$data,boot=TRUE)
	perm.authors <- contingency.data.break(authors$ca$data)	

[Package InPosition version 0.12.7.1 Index]