https://github.com/cran/quantreg
Raw File
Tip revision: d55e8b38f04442926fbd3c06051c3552f82ea9c8 authored by Roger Koenker on 03 June 2019, 11:40 UTC
version 5.40
Tip revision: d55e8b3
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