| sample_single {rbmi} | R Documentation |
Create object of sample_single class
Description
Creates an object of class sample_single which is a named list
containing the input parameters and validate them.
Usage
sample_single(
ids,
beta = NA,
sigma = NA,
theta = NA,
failed = any(is.na(beta)),
ids_samp = ids
)
Arguments
ids |
Vector of characters containing the ids of the subjects included in the original dataset. |
beta |
Numeric vector of estimated regression coefficients. |
sigma |
List of estimated covariance matrices (one for each level of |
theta |
Numeric vector of transformed covariances. |
failed |
Logical. |
ids_samp |
Vector of characters containing the ids of the subjects included in the given sample. |
Value
A named list of class sample_single. It contains the following:
-
idsvector of characters containing the ids of the subjects included in the original dataset. -
betanumeric vector of estimated regression coefficients. -
sigmalist of estimated covariance matrices (one for each level ofvars$group). -
thetanumeric vector of transformed covariances. -
failedlogical.TRUEif the model fit failed. -
ids_sampvector of characters containing the ids of the subjects included in the given sample.