crimmix_data_gen: Generate the simulated dataset with three modalities with the...

View source: R/crimmix_data_gen.R

crimmix_data_genR Documentation

Generate the simulated dataset with three modalities with the package crimmix

Description

Generate the simulated dataset with three modalities with the package crimmix

Usage

crimmix_data_gen(nclust=4, n_byClust=c(10,20,5,25),
feature_nums=c(1000,500,5000), noises=c(0.5,0.01,0.3),props=c(0.005,0.01,0.02))

Arguments

nclust

number of clusters

n_byClust

number of samples per cluster

feature_nums

number of features in each modality

noises

percentage of noise adding to each modality

props

proportion of cluster related features in each modality

Value

res, a list of length 2, where the first element is a list of simulated data, while the second element is a vector indicating the true label of each sample

Examples

crimmix_data <- crimmix_data_gen(nclust=4, n_byClust=c(10,20,5,25),
feature_nums=c(1000,500,5000), noises=c(0.5,0.01,0.3),props=c(0.005,0.01,0.02))

M3JF documentation built on Aug. 14, 2023, 9:08 a.m.