R version 2.12.1 (2010-12-16) Copyright (C) 2010 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(14.36009776 + ,11.30900293 + ,12.45810893 + ,13.50394283 + ,7.219358341 + ,7.381367182 + ,15.26096233 + ,3.165415029 + ,11.78143911 + ,9.277808364 + ,14.22780485 + ,13.3753608 + ,9.487750499 + ,15.21511671 + ,10.42712012 + ,17.84978648 + ,15.89534882 + ,12.55115438 + ,11.43396085 + ,15.53507626 + ,14.52239325 + ,13.89331579 + ,9.712278591 + ,14.12942504 + ,12.89537363 + ,12.1602659 + ,13.01181689 + ,13.29873685 + ,7.775415068 + ,13.28429728 + ,15.11451039 + ,13.74797244 + ,16.42942616 + ,8.584377305 + ,16.47410685 + ,10.83539947 + ,14.48035784 + ,9.817153316 + ,5.345232896 + ,14.39310875 + ,12.87630593 + ,10.76877965 + ,10.49694082 + ,8.443671407 + ,8.407782836 + ,13.94065255 + ,6.16326461 + ,14.43688293 + ,17.77583855 + ,12.2486023 + ,11.45685566 + ,1.153093302 + ,17.35686844 + ,5.224652076 + ,5.238696901 + ,12.60523152 + ,17.98404039 + ,15.30279334 + ,16.2306506 + ,11.17728596 + ,17.64250157 + ,14.43288916 + ,9.841441509 + ,13.10185804 + ,12.78229154 + ,9.841353028 + ,12.52267132 + ,12.85177133 + ,13.17889823 + ,9.459926349 + ,13.14460233 + ,5.679993974 + ,13.621099 + ,11.4493559 + ,12.45612266 + ,14.52255588 + ,14.00916003 + ,12.87917848 + ,10.91453539 + ,10.67710167 + ,7.500506329 + ,15.71511893 + ,8.451414364 + ,13.04281114 + ,5.475735648 + ,6.318561991 + ,11.67102852 + ,12.88262502 + ,12.34103121 + ,15.31887313 + ,10.00450285 + ,14.86835659 + ,8.706868119 + ,12.38401963 + ,14.23699191 + ,12.98177075 + ,14.75112225 + ,15.68212424 + ,18.1400865 + ,15.91867058 + ,14.96179352 + ,16.04078615 + ,7.958769343 + ,6.117022453 + ,7.408636579 + ,12.70501195 + ,12.21180573 + ,13.7541755 + ,10.16398398 + ,11.38027871 + ,14.09406222 + ,15.38882422 + ,0.694512385 + ,10.98992814 + ,3.847727223 + ,10.36537965 + ,15.07282766 + ,0.406821823 + ,11.07449882 + ,2.651799226 + ,13.40079885 + ,14.266541 + ,11.1935173 + ,9.43355457 + ,2.298582242 + ,11.55994194 + ,16.70032444 + ,14.84074833 + ,17.38403831 + ,15.73039586 + ,19.36265885 + ,11.32605381 + ,7.851840967 + ,13.30225262 + ,17.89762797 + ,9.46320715 + ,17.41915883 + ,9.332238773 + ,13.4187927 + ,11.37725913 + ,8.702323456 + ,14.19611665 + ,14.3980936 + ,7.301383906 + ,15.72027262 + ,14.03405468 + ,14.75498272 + ,17.03707132 + ,0.498724543 + ,10.82410397 + ,13.99003257 + ,0.295218143 + ,1.833602184 + ,0.59944272 + ,6.512322257 + ,8.594439161) > par3 = '0.01' > par2 = '0.99' > par1 = '0.01' > ylab = 'value' > xlab = 'quantile' > main = 'Harrell-Davis Quantiles' > #'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/www/rcomp/tmp/1fbnd1323792483.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/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/www/rcomp/tmp/2d6ss1323792483.tab") > > try(system("convert tmp/1fbnd1323792483.ps tmp/1fbnd1323792483.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.120 0.100 2.089