| summary_lucid | R Documentation |
Summarize results of the early LUCID model
summary_lucid(object, ...)
## S3 method for class 'early_lucid'
summary(object, ...)
object |
A LUCID model fitted by |
... |
Additional argument |
A list containing model information, fit statistics, feature-selection summaries, detailed parameter estimates, missing-data summaries, and optional bootstrap CI tables.
# use simulated data
G <- sim_data$G[1:300, , drop = FALSE]
Z <- sim_data$Z[1:300, , drop = FALSE]
Y_normal <- sim_data$Y_normal[1:300]
# fit lucid model
fit1 <- estimate_lucid(G = G, Z = Z, Y = Y_normal, lucid_model = "early", family = "normal", K = 2,
seed = 1008)
# conduct bootstrap resampling
boot1 <- suppressWarnings(
boot_lucid(G = G, Z = Z, Y = Y_normal, lucid_model = "early", model = fit1, R = 5)
)
# summarize lucid model
summary(fit1)
# summarize lucid model with bootstrap CIs
summary(fit1, boot.se = boot1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.