bootDM: Take a bootstrap sample from a square distance matrix.

Description Usage Arguments Value See Also Examples

Description

Random sample with replacement from a distance matrix, with resulting matrix specified by number of subjects per group.

Usage

1
bootDM(dm, subject_group_vector)

Arguments

dm

a square distance matrix

subject_group_vector

number of subjects in each group to sample, as a vector.

Value

A square distance matrix.

See Also

calcUJstudy, calcWJstudy

Examples

1

smvargas/PERMANOVA documentation built on May 20, 2019, 12:37 p.m.