https://github.com/cran/quantreg
Raw File
Tip revision: 61e5d2e598fb5e53345fa9414a615a4d7b524808 authored by Roger Koenker on 18 October 2020, 10:50 UTC
version 5.74
Tip revision: 61e5d2e
run-demos.R
library(quantreg)

(dDIR <- system.file("demo", package = "quantreg"))
set.seed(1) # since some demos randomly generate

cat("Running demos from package 'quantreg' : \n\n")
for(ff in list.files(dDIR, pattern="\\.R$", full.names = TRUE)) {
   f <- basename(ff)
   cat("\n", f," :\n", paste(rep.int("-", nchar(f)), collapse=''),
       "\n", sep='')

   source(ff, echo = TRUE)
}

back to top