d_stat: calculate the energy statistics from balanced designed...

Description Usage Arguments Value

View source: R/d_stat.R

Description

This fucntion calculate the statistics to test multrivariate test for equal distributions based on energy method

Usage

1
d_stat(size, group, index, distance)

Arguments

size

the sample size

group

the number of the groups of the samples

index

for permutation test, indicate how to divide the samples into groups

distance

the distance matrix

Value

energy statistics used for multivariate test for equal distribution


qiyuan98/energy.test documentation built on Dec. 28, 2019, 7:15 p.m.