View source: R/intersim_data_gen.R
intersim_data_gen | R Documentation |
Generate the simulated dataset with three modalities with the package InterSIM
intersim_data_gen(prop=c(0.20,0.30,0.27,0.23), n_sample=500)
prop |
proportion of samples for each cluster |
n_sample |
the number of samples |
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.
library(InterSIM)
intersim_data <- intersim_data_gen(prop=c(0.20,0.30,0.27,0.23), n_sample=500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.