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

View source: R/intersim_data_gen.R

intersim_data_genR Documentation

Generate the simulated dataset with three modalities with the package InterSIM

Description

Generate the simulated dataset with three modalities with the package InterSIM

Usage

intersim_data_gen(prop=c(0.20,0.30,0.27,0.23), n_sample=500)

Arguments

prop

proportion of samples for each cluster

n_sample

the number of samples

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

library(InterSIM)
intersim_data <- intersim_data_gen(prop=c(0.20,0.30,0.27,0.23), n_sample=500)

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