simsv {lsbclust}R Documentation

Randomly Generate Positive Singular Values

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

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


[Package lsbclust version 1.1 Index]