R version 2.8.0 (2008-10-20) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(283.9 + ,340.5 + ,383 + ,335.4 + ,356 + ,431 + ,441.9 + ,262.3 + ,481.1 + ,442.8 + ,458.4 + ,472.7 + ,498.8 + ,463.3 + ,538.3 + ,494.2 + ,446.2 + ,497.5 + ,433.2 + ,359.4 + ,455.9 + ,483 + ,469.7 + ,423.8 + ,371 + ,435.7 + ,438.1 + ,364.5 + ,392.7 + ,405.1 + ,391.4 + ,282.8 + ,408 + ,480.9 + ,416.9 + ,350.7 + ,399.9 + ,438.1 + ,454.9 + ,407.7 + ,485 + ,494 + ,521.2 + ,333 + ,520.3 + ,570.5 + ,501.8 + ,408.4 + ,512.7 + ,596.9 + ,581.5 + ,605.7 + ,581.1 + ,538.3 + ,731.4 + ,457.7 + ,706.3 + ,708.5 + ,683.5 + ,722.1 + ,727.7 + ,674.4 + ,675.3 + ,628.7 + ,658.3 + ,786 + ,736.9 + ,567.3 + ,736.3 + ,719.6 + ,676.8 + ,589.5 + ,596.5 + ,661 + ,840.9 + ,683.1 + ,677.4 + ,780.2 + ,928.8 + ,557.5 + ,760.6 + ,847 + ,719 + ,699.8 + ,745.4 + ,871.5 + ,1199.8 + ,795.4 + ,1054.4 + ,753.7 + ,1093.8 + ,768.4 + ,1405.7 + ,1149.2 + ,1086.8 + ,994.4 + ,958.8 + ,1096.3 + ,1107.4 + ,862.4 + ,983 + ,1021.1 + ,1036.3 + ,684.5 + ,874.1 + ,1031.6 + ,1126.3 + ,1041.9 + ,1419.4 + ,1402.2 + ,1503.6 + ,1503.6 + ,1571.2 + ,1351.2 + ,1448.3 + ,1292.9 + ,1293.7 + ,1824.7 + ,1641.4 + ,1529.1 + ,1417 + ,1060 + ,1117 + ,1226.2 + ,1124 + ,1246 + ,1398.1 + ,1095.2 + ,1507.1 + ,1467 + ,1262.1 + ,1262.9 + ,1184.9 + ,1412.9 + ,1581.8 + ,1348.8 + ,1443.7 + ,1628.7 + ,1393.2 + ,1108.1 + ,1074.8 + ,1323.5 + ,1367 + ,1190.7 + ,1149.2 + ,1281.9 + ,1406.8 + ,1392.4 + ,1674.5 + ,1529.8 + ,1180.9 + ,1282.8 + ,1524.2 + ,1524.6 + ,1520.1 + ,1881.9 + ,1375.2 + ,1336.5 + ,1653.9 + ,1404.3 + ,1731.4 + ,1330.8 + ,1616.3 + ,1503.7 + ,1476.7 + ,1565.6 + ,1581.8 + ,1407.7 + ,1393.7 + ,1662.4 + ,1929 + ,1352.8 + ,1339.8 + ,1251.2 + ,1491.7 + ,1540.7 + ,1383.7 + ,1827.5 + ,1591.3 + ,1289.2 + ,1291.9 + ,1368.3 + ,1264.6 + ,1448.8 + ,1239.2 + ,1280.9 + ,1269.4 + ,1068.5) > par3 = '0.005' > par2 = '0.99' > par1 = '0.01' > ylab = 'value' > xlab = 'quantile' > main = 'Harrell-Davis Quantiles Export België-VS' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa, (2007), Harrell-Davis Quantile Estimator (v1.0.11) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_harrell_davies.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: #Hmisc library > #v 1.0.2, 1 sept. 2006: fixed buffer overflow in R interpreter (thanks to John J. Ely, Ph.D.) > par1 <- as(par1,'numeric') > par2 <- as(par2,'numeric') > par3 <- as(par3,'numeric') > library(Hmisc) Attaching package: 'Hmisc' 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/www/html/rcomp/tmp/1xtmc1228397610.ps",horizontal=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/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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] 197 > 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/www/html/rcomp/tmp/2pxqo1228397610.tab") > > system("convert tmp/1xtmc1228397610.ps tmp/1xtmc1228397610.png") > > > proc.time() user system elapsed 1.589 0.230 1.819