datagen: Generate data for testing.

Description Usage Arguments Value

View source: R/generate_data.R

Description

Generates data for use in testing.

Usage

1
datagen(n, K, beta, gamma, eta, cor_structure)

Arguments

n

Number of observations per person.

K

Number of persons.

beta

1x1 matrix representing the global mean of the outcome.

gamma

QxQ_random matrix representing the effects of Q level 2 variables on the Q_random level 1 scale parameters.

eta

Qx(Q_random+1) matrix representing the effects of Q level 2 variables on the mean variance and Q_random level 1 scale variances.

cor_structure

3-length vector describing the correlation matrix of random effects.

Value

...


stephensrmmartin/ICCier documentation built on Aug. 22, 2019, 10 a.m.