data_sim: Data Simulation Function

Description Usage Arguments Value

View source: R/data_sim.R

Description

Define the function to simulate the datasets with multiple dimensions and multivariate normal distributions.

percentage, SDlist, t, Tmatrix, N, Coeflist, seed=10, random = TRUE

Usage

1
data_sim(percentage, SDlist, t, Tmatrix, N, Coeflist, seed, random = TRUE)

Arguments

percentage

Percentage of each cluster, sum to 1

SDlist

List of standard deviation matrices for each cluster

t

Length of trajectory, t=1 will be single point; t can be used to specify the length of trajectory for training/validation/testing

Tmatrix

Feature matrix for the trajectory.

N

Number of trajectories

Coeflist

List of coefficient matrices for each cluster

seed

Set the random seed for simulation

random

Specify whether the simulation data has exact percentage or approximate percentage for each cluster

Value

Simulation dataset


ericchen12377/mixDP documentation built on June 23, 2021, 12:02 p.m.