View source: R/other-functions.R
| fn.createListData | R Documentation |
Converts raw input vectors into a structured list format used throughout the package
fn.createListData(S, Z, X, Y = NULL)
S |
Vector of study memberships (factor or numeric, values 1...J) |
Z |
Vector of group memberships (factor or numeric, values 1...Z) |
X |
Covariate matrix (N + p) |
Y |
Outcome matrix (N + L), optional |
Structured list containing:
S, Z, X, Y - Original inputs
N - Total sample size
J - Number of studies
K - Number of groups
p - Number of covariates
Plus all components added by preStage1()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.