R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- c(6.22,6.19,6.22,6.21,6.21,6.18,6.16,6.18,6.2,6.21,6.18,6.2,6.22,6.27,6.19,6.2,6.28,6.25,6.38,6.36,6.44,6.41,6.38,6.39,6.37,6.33,6.32,6.32,6.3,6.32,6.34,6.38,6.32,6.3,6.32,6.37,6.38,6.38,6.3,6.33,6.26,6.26,6.22,6.21,6.14,6.15,6.17,6.16,6.17,6.18,6.19,6.24,6.28,6.32,6.36,6.39,6.39,6.4,6.4,6.37,6.4,6.39,6.39,6.39,6.39,6.33,6.41,6.45,6.43,6.56,6.57,6.58,6.19,6.31,6.35,6.38,6.38,6.36,6.34,6.49,6.5,6.5,6.55,6.57,6.65,6.61,6.66,6.73,6.73,6.75,6.75,6.71,6.77,6.83,6.9,6.89,7.14,7.35,7.43,7.42,7.41,7.46,7.47,7.45,7.47,7.44,7.43,7.43,7.44,7.49,7.48,7.43,7.33,7.42,7.98,7.41,7.25,7.04,6.98,6.94,6.9,6.92,6.86,6.86,6.89,6.91,6.9,6.88,6.78,6.79,6.81,6.78) > par3 = '0.01' > par2 = '0.99' > par1 = '0.01' > ylab = 'Prijs in euro' > xlab = 'Percentielen' > main = 'Gemiddelde consumptieprijs pizza 2006-20' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > par1 <- as(par1,'numeric') > par2 <- as(par2,'numeric') > par3 <- as(par3,'numeric') > library(Hmisc) Loading required package: survival Loading required package: splines Attaching package: 'Hmisc' The following object(s) are masked from 'package:survival': untangle.specials The following object(s) are masked from 'package:base': format.pval, round.POSIXt, trunc.POSIXt, units > myseq <- seq(par1, par2, par3) > hd <- hdquantile(x, probs = myseq, se = TRUE, na.rm = FALSE, names = TRUE, weights=FALSE) > postscript(file="/var/wessaorg/rcomp/tmp/1r03v1318418781.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(myseq,hd,col=2,main=main,xlab=xlab,ylab=ylab) > grid() > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Harrell-Davis Quantiles',3,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'quantiles',header=TRUE) > a<-table.element(a,'value',header=TRUE) > a<-table.element(a,'standard error',header=TRUE) > a<-table.row.end(a) > length(hd) [1] 99 > for (i in 1:length(hd)) + { + a<-table.row.start(a) + a<-table.element(a,as(labels(hd)[i],'numeric'),header=TRUE) + a<-table.element(a,as.matrix(hd[i])[1,1]) + a<-table.element(a,as.matrix(attr(hd,'se')[i])[1,1]) + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/2ckx41318418781.tab") > > try(system("convert tmp/1r03v1318418781.ps tmp/1r03v1318418781.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.962 0.101 1.089