Brq (version 2.5)

print.summary.Brq: 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 summary.Brq
print(x, …)

Arguments

x

object of class Brq.

not used.

Value

Print the summary of Bayesian quantile regression methods.

Examples

Run this code
# NOT RUN {
# 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
# }

Run the code above in your browser using DataCamp Workspace