print.sumlucid_early {LUCIDus} | R Documentation |
Print the output of LUCID in a nicer table
Description
Print the output of LUCID in a nicer table
Usage
## S3 method for class 'sumlucid_early'
print(x, ...)
Arguments
x |
An object returned by |
... |
Other parameters to be passed to |
Value
A nice table/several nice tables of the summary of the LUCID model
Examples
# use simulated data
G <- sim_data$G
Z <- sim_data$Z
Y_normal <- sim_data$Y_normal
# 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 <- boot_lucid(G = G, Z = Z, Y = Y_normal, lucid_model = "early", model = fit1, R = 100)
# print the summary of the lucid model in a table
temp <- summary(fit1)
print(temp)
[Package LUCIDus version 3.0.2 Index]