InPosition (version 0.12.7.1)

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)

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.

See Also

epCA, epCA.inference.battery

Examples

Run this code
# NOT RUN {
	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 DataCamp Workspace