arch_mahala: Hotteling test based on Mahalanobis distances.

Description Usage Arguments Value

View source: R/arch_mahala.R

Description

Performs Hotteling test based on Mahalanobis distances to asses to memebership probabilities. The variables should be always n+2, where n is the number of individuals of the smallest compositional group.

Usage

1
arch_mahala(group_list, test_sample, rm_vars = rm_vars)

Arguments

group_list

List of dataframes corresponding to known compositional groups.

test_sample

A individual which is to be tested

rm_vars

Variables that are to be excluded in the analysis.

Value

Performs Hotteling test based on Mahalanobis distances. Probabilities of memebership to a certain group.


esteful/ArchFlow documentation built on Dec. 20, 2021, 6:40 a.m.