sample.cdms: resamples doubly centered distance matrices

Description Usage Arguments Value

View source: R/multivariance-functions.R

Description

resamples doubly centered distance matrices

Usage

1
sample.cdms(list.cdm, replace = FALSE, incl.first = FALSE)

Arguments

list.cdm

a list of doubly centered distance matrices

replace

boolean, sampling with or without replacement

incl.first

boolean, if TRUE also the first component is resampled

Value

Returns a list of doubly centered distance matrices, each matrix corresponds to the resampled columns of the corresponding sample, using resampling with replacement (bootstrap) or without replacement (permutations).


multivariance documentation built on Jan. 13, 2021, 5:55 a.m.