Learn R Programming

M3JF (version 0.1.0)

intersim_data_gen: 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)

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.

Arguments

prop

proportion of samples for each cluster

n_sample

the number of samples

Examples

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

Run the code above in your browser using DataLab