This function deprecates. Please use boot_lucid instead.
boot.lucid(G, Z, Y, CoG = NULL, CoY = NULL, model, conf = 0.95, R = 100)
Exposures, a numeric vector, matrix, or data frame. Categorical variable should be transformed into dummy variables. If a matrix or data frame, rows represent observations and columns correspond to variables.
Omics data, a numeric matrix or data frame. Rows correspond to observations and columns correspond to variables.
Outcome, a numeric vector. Categorical variable is not allowed. Binary outcome should be coded as 0 and 1.
Optional, covariates to be adjusted for estimating the latent cluster. A numeric vector, matrix or data frame. Categorical variable should be transformed into dummy variables.
Optional, covariates to be adjusted for estimating the association between latent cluster and the outcome. A numeric vector, matrix or data frame. Categorical variable should be transformed into dummy variables.
A LUCID model fitted by est.lucid
.
A numeric scalar between 0 and 1 to specify confidence level(s) of the required interval(s).
An integer to specify number of bootstrap replicates for LUCID model. If feasible, it is recommended to set R >= 1000.