sample.cdms {multivariance}R Documentation

resamples doubly centered distance matrices

Description

resamples doubly centered distance matrices

Usage

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).


[Package multivariance version 2.4.1 Index]