Learn R Programming

psytabs (version 1.0)

quantregTable: Quantile regression table.

Description

Produces a quantile regression table.

Usage

quantregTable(x, digits = 2, significance="none")

Arguments

x
summary for quantile regression results as returned when calling summary on an quantile regression object.
digits
number of digits to display.
significance
factor that toggles whether beside the standard error significance should be made visible. Can be either "none" nothing additional is displayed, "stars" significance stars are displayed and "bold" signicant values are bold when saved by the saveTable function.

Value

A quantreg table.

Examples

Run this code
#must have quantreg installed
library(quantreg)
data(stackloss)
y <- stack.loss
x <- stack.x
res <- summary(rq(y ~ x, tau=c(0.25, 0.5, 0.75)), se="boot")
quantregTable(res)
quantregTable(res, significance="stars")
tab <- quantregTable(res, significance="bold")


Run the code above in your browser using DataLab