Learn R Programming

InPosition (version 1.0.0)

contingency.data.break: 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)

Value

A resampled contingency table.

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).

Author

Joseph Dunlop and Derek Beaton

See Also

epCA, epCA.inference.battery

Examples

Run this code

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

Run the code above in your browser using DataLab