sig.tot.inertia.perm {CAinterprTools} | R Documentation |
Permuted significance of the CA total inertia
Description
This function calculates the permuted significance of CA total inertia. Number of permutation is customizable (set at 999 by default). A frequency distribution histogram of permuted CA total inertia is produces and p.value of the observed total inertia is reported.
Usage
sig.tot.inertia.perm(data, B = 999)
Arguments
data |
Name of the dataset (must be in dataframe format). |
B |
Number of permutations (999 by default). |
See Also
sig.dim.perm.scree
, sig.dim.perm
Examples
data(greenacre_data)
#Returns the frequency distribution histogram of the permuted total inertia
#(using 99 permutations). The observed total inertia and the 95th percentile
#of the permuted inertia are also displayed for testing the significance
#of the observed total inertia.
sig.tot.inertia.perm(greenacre_data, 99)
[Package CAinterprTools version 1.1.0 Index]