simulate_dataset_PPP: This is an internal function that generates a new dataset...

Description Usage Arguments Value

Description

This is an internal function that generates a new dataset given the inputs

Usage

1
simulate_dataset_PPP(n, n_t, gamma, mu, eps, zeta, Q, seed)

Arguments

n

int. number of subjects.

n_t

int. number of observations for each subject.

gamma

vector of length m times m containing transition probabilities.

mu

vector of length m times m with emission distribution means.

eps

vector of length m times m with residual variances.

zeta

vector of floats. between-subject variance of the emission distributions.

Q

float. between-subject variance of the transition probability matrix.

seed

int. random seed used to generate the dataset.

Value

simulated dataset. See sim_mHMM


JasperHG90/sleepsimReval documentation built on May 16, 2020, 2:35 a.m.