summary.SPQR | R Documentation |
SPQR
summarizes the output produced by SPQR()
and structures them in a more organized way to be examined by the user.
## S3 method for class 'SPQR' summary(object, ...)
object |
An object of class |
... |
Other arguments. |
An object of class summary.SPQR
. A list containing summary information
of the fitted model.
method |
The estimation method |
time |
The elapsed time |
prior |
If |
model |
If |
loss |
If |
optim.info |
If |
elpd |
If |
diagnostics |
If |
set.seed(919) n <- 200 X <- rbinom(n, 1, 0.5) Y <- rnorm(n, X, 0.8) control <- list(iter = 200, warmup = 150, thin = 1) fit <- SPQR(X = X, Y = Y, method = "MCMC", control = control, normalize = TRUE, verbose = FALSE) ## summarize output summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.