https://github.com/cran/quantreg
Raw File
Tip revision: a25043214ecac9129744967f534bceb1f452813a authored by Roger Koenker on 02 February 2018, 20:20 UTC
version 5.35
Tip revision: a250432
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