simsv: Randomly Generate Positive Singular Values

Description Usage Arguments

Description

Generate random singular values for a specified number of clusters for use in simulations. A mixture distribution is used with truncation to ensure that the singular values differ between clusters, are ordered, and are nonnegative.

Usage

1
simsv(nclust, ndim = 2, mins = 1, max = 5)

Arguments

nclust

Integer giving the number of clusters for which to sample singular values.

ndim

Integer; the number of singular values required.

mins

Numeric vector of length ndim giving the minimum values for the respective singular values.

max

Numeric value giving the maximum possible value for the mean of the cluster- specific singular value distribution, relative to the mins


lsbclust documentation built on May 1, 2019, 10:27 p.m.