sig.dim.perm: Permuted significance of CA dimensions

Description Usage Arguments Examples

Description

This function allows you to calculate the permuted significance of selected CA dimensions. Number of permutation set at 999 by default, but can be increased by the user. Since the function returns a scatterplot, the function requires that two dimensions are entered.

Usage

1
sig.dim.perm(data, x = 1, y = 2, B = 1000)

Arguments

data:

name of the dataset (must be in dataframe format).

x:

first dimension whose significance is calculated (x=1 by default).

y:

second dimension whose significance is calculated (y=2 by default).

B:

number of permutations (1000 by default).

Examples

1
2
data(greenacre_data)
sig.dim.perm(greenacre_data, 1,2) #Returns a scatterplot of the permuted inertia of the 1 CA dimension against the permuted inertia of the 2 CA dimension. Observed inertia of the selected dimensions and 95th percentile of the permuted inertias are also displayed for testing the significance of the observed inertias.

gianmarcoalberti/CAinterprTools documentation built on May 17, 2019, 4:18 a.m.