generate.cluster.data: Function to Generate Data According to the Supcluster Model

Description Usage Arguments Value Author(s) See Also

Description

Generates cluster data according to the used for supervised clustering

Usage

1
2
generate.cluster.data(ratio,npats=80,clusts=c(12,8,12,12,6),
                sig=1,gamma=1,beta=c(-5,-2.5,0,2.5,5))

Arguments

ratio

The ratio τ^2/σ^2 of the variance of the random effects to the error variance of the features

npats

Number of observations in the data set.

clusts

The cluster identity of the features

sig

The error variance of the features.

gamma

The error variance of the outcome.

beta

The value of the regression coefficients

Value

A data frame which is npats times ngens+1 the last column is the outcome.

Author(s)

David A. Schoenfeld

See Also

supcluster



Search within the supcluster package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.