mrq.output.statlong: Reorganize the output of a quantile regression fit into a...

Description Usage Arguments Value Author(s) Examples

View source: R/data_table_quantile_regression_utils.R

Description

simple function which takes a lm model output to create a named vector intended for use with data.table and group by

Usage

1
mrq.output.statlong(fit, se = "iid")

Arguments

fit

object returned from a linear model quantreg::rq() are supported

Value

a data.table with columns statistic and value

Author(s)

Maik Renner, mrenner [at] bgc-jena.mpg.de

Examples

1
2
3
4
5
# output of regression model is melted to two columns
library(quantreg)
data(engel)
fit = rq(foodexp~income,tau=0.9,data=engel)
mrq.output.statlong(fit)

laubblatt/cleaRskyQuantileRegression documentation built on Nov. 27, 2019, 12:26 p.m.