fit <- rq(data = stackloss,formula = stack.loss ~ .,tau = 0.5)
summary(fit)
fit <- rq(data = stackloss,formula = stack.loss ~ .,tau = c(0.25,0.75))
summary(fit)
# Help page for function being twiddled
?quantreg::rq
Run the code above in your browser using DataLab