powered by
Generates a simulated dataset based on a true partition
SimData(true_L, nfields, ncat, true_beta)
Vector of size max cluster size with number of clusters of each size
Number of fields
Vector with number of categories per field
Distortion probability for the fields
Simulated data set
# NOT RUN { truePartition <- c(2,2,2,2) numberFields <- 2 numberCategories <- rep(5,2) trueBeta <- 0.01 SimData(truePartition, numberFields, numberCategories, trueBeta) # }
Run the code above in your browser using DataLab