.simulate.X {LMMELSM}R Documentation

Simulate covariates without correlation.

Description

Simulate covariates without correlation.

Usage

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

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.

Value

Matrix.

Author(s)

Stephen R. Martin


[Package LMMELSM version 0.2.0 Index]