gendata {cubt}R Documentation

Generating data from models discribed in the original paper.

Description

Generating data from models discribed in the original paper.

Usage

gendata(model=3,dim = 10,N=NULL,n = 100,sigma = 0.8,ncl = 3,pl=F)

Arguments

model

Model number

dim

Number of dimensions.

N

Total number of observations. If given argument n ignored and computed as integer(N/ncl)

n

Number of observations per cluster.

sigma

Stadard deviation for Gaussian data.

ncl

Number of clusters.

pl

If true gives a 2 dimensional plot of the data using the first axis.

Author(s)

Badih Ghattas


[Package cubt version 3.3 Index]