View source: R/print.summary.SPQR.R
| print.summary.SPQR | R Documentation |
"summary.SPQR"Print the output produced by summary.SPQR().
## S3 method for class 'summary.SPQR' print(x, showModel = FALSE, ...)
x |
An object of class |
showModel |
If |
... |
Other arguments. |
No return value, called for side effects.
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.