Learn R Programming

LMMELSM (version 0.2.0)

.simulate.X: Simulate covariates without correlation.

Description

Simulate covariates without correlation.

Usage

.simulate.X(n, K, P, L2_pred_only)

Value

Matrix.

Arguments

n

Number of observations per k unit.

K

Number of k units (Level 2 units).

P

Number of covariates.

L2_pred_only

Logical (Default: FALSE). If generated predictors should be level-2 only.

Author

Stephen R. Martin