print.bayesQR {bayesQR} | R Documentation |
Prints the contents of bayesQR
object to the console
Description
print.bayesQR
is an S3 method that prints the content of an S3 object of class bayesQR
to the console.
Usage
## S3 method for class 'bayesQR'
print(x, digits=3, ...)
Arguments
x |
an output object of the |
digits |
the number of printed digits of the estimates (default=3). |
... |
additional arguments that are passed to the generic |
Value
Formatted output of a bayesQR
object.
Author(s)
Dries F. Benoit
Examples
# Simulate data from heteroskedastic regression
set.seed(666)
n <- 200
X <- runif(n=n,min=0,max=10)
y <- 1 + 2*X + rnorm(n=n, mean=0, sd=.6*X)
# Analyze 0.5 quantile using default prior
out <- bayesQR(y ~ X, ndraw=5000)
# Print the bayesQR object
print(out)
[Package bayesQR version 2.4 Index]