print.summary.Brq {Brq}R Documentation

Print the summary of Bayesian quantile regression methods.

Description

print.Brq.summary is an S3 method that prints the content of an S3 object of class Brq.summary to the console.

Usage

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

Arguments

x

object of class Brq.

...

not used.

Value

Print the summary of Bayesian quantile regression methods.

Author(s)

Rahim Alhamzawi

Examples

# Simulate data from heteroskedastic regression
set.seed(666)
n <- 100
x <- runif(n=n,min=0,max=10)
y <- 2 + 2*x + 0.6 *x*rnorm(n=n, mean=0, sd=1)

fit <- Brq(y ~ x, tau=0.5, method="Bqr") 

# Return Bayes estimates and credible intervals 
Results<- summary(fit)

# Print the Brq.summary object
Results

[Package Brq version 3.0 Index]