print.SPQR: print method for class 'SPQR'

View source: R/print.SPQR.R

print.SPQRR Documentation

print method for class SPQR

Description

Summarizes and print the output produced by SPQR() in an organized way.

Usage

## S3 method for class 'SPQR'
print(x, ...)

Arguments

x

An object of class SPQR

...

Arguments passed on to print.summary.SPQR

showModel

If TRUE, prints the detailed NN architecture by layer.

Details

This is equivalent to the function call print.summary.SPQR(summary.SPQR(object), ...).

Value

No return value, called for side effects.

Examples


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)
print(fit, showModel = TRUE)


SPQR documentation built on May 3, 2022, 1:08 a.m.