R version 2.9.0 (2009-04-17) Copyright (C) 2009 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(0.103629933239820 + ,0.0087703074390444 + ,0.0155637426660695 + ,0.0966084256018938 + ,0.0683025606568869 + ,-0.00653314961359896 + ,-0.0094367257568807 + ,0.00935003832683242 + ,0.118449494805129 + ,0.127456615819888 + ,0.00876382231245558 + ,-0.0129824429665246 + ,-0.00415418317902038 + ,0.0266421877779411 + ,0.194032448777481 + ,-0.00711070355878007 + ,0.0205688036309368 + ,-0.00442856389169322 + ,-0.00315893309607418 + ,0.0064652048591256 + ,0.131873973578195 + ,0.241305044412940 + ,-0.0310262850916416 + ,0.0245251063758616 + ,-0.0156222322911219 + ,-0.0206043854226294 + ,0.0326967759710612 + ,0.125988059619388 + ,-0.0435502067574021 + ,0.0123515713707718 + ,-0.00434737918082817 + ,-0.00353479514087951 + ,0.147562133549002 + ,0.0470693504162938 + ,0.105815471844778 + ,-0.0341342674195459 + ,-0.00414417660174138 + ,-0.0064652048591256 + ,0.0468257381816528 + ,-0.225104141948705 + ,3.12331458758308e-05 + ,0.0166685620235825 + ,0.00237689216950798 + ,0 + ,0.0357693020416008 + ,0.0102083822537082 + ,-0.0675670602819736 + ,0.0495991980182566 + ,0.0101167955535715 + ,0.0668105237905223 + ,-0.223001756937975 + ,0.0896858022691731 + ,-0.106531513400583 + ,-0.00678504840645644 + ,0.0134485427007007 + ,0.0300000000000011 + ,-0.0989691535751547 + ,-0.115464366100554 + ,0.0988679532745067 + ,-0.0709498589393718) > par3 = '0.005' > par2 = '0.99' > par1 = '0.000' > 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/html/rcomp/tmp/1zmxz1259702722.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] 199 > 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/2243q1259702722.tab") > > system("convert tmp/1zmxz1259702722.ps tmp/1zmxz1259702722.png") > > > proc.time() user system elapsed 1.141 0.211 1.208