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(2430.47 + ,2516.3 + ,2633.63 + ,2799.84 + ,3001.93 + ,3229.29 + ,3173.02 + ,3322.08 + ,3417.88 + ,3486.95 + ,3016.22 + ,2709.61 + ,2914.87 + ,3203.08 + ,3320.25 + ,3446.25 + ,3456.85 + ,3566.53 + ,3763.67 + ,3607.75 + ,3747.38 + ,3623.91 + ,3699.76 + ,3629.61 + ,3911.52 + ,4281.47 + ,4742.42 + ,4522.42 + ,4879.79 + ,5059.11 + ,5093.19 + ,4941.81 + ,4832.67 + ,4876.18 + ,5018.07 + ,4780.34 + ,4953.59 + ,4622.32 + ,4557.13 + ,4560.03 + ,4105.66 + ,4004.89 + ,4277.26 + ,4245.98 + ,4057.64 + ,3931.42 + ,3637.15 + ,3339.91 + ,3465.74 + ,3571.25 + ,3706.93 + ,3584.17 + ,3552.11 + ,3695.24 + ,3510 + ,3357.7 + ,3060.91 + ,2736.98 + ,2709.45 + ,2314.96 + ,2561.29 + ,2663.49 + ,2407.87 + ,2237.74 + ,2165.44 + ,2098.89 + ,2318.54 + ,2315.49 + ,2395.47 + ,2474.07 + ,2479.57 + ,2386.92 + ,2537.84 + ,2567.13 + ,2660.37 + ,2696.28 + ,2748.5 + ,2663.32 + ,2707.69 + ,2669.36 + ,2687.68 + ,2650.24 + ,2620.03 + ,2668.47 + ,2692.06 + ,2737.67 + ,2774.77 + ,2819.19 + ,2892.56 + ,2866.08 + ,2817.41 + ,2934.75 + ,3036.54 + ,3139.5 + ,3114.31 + ,3261.3 + ,3201.79 + ,3264.53 + ,3349.1 + ,3446.17 + ,3469.48 + ,3507.13 + ,3536.2 + ,3359.05 + ,3378.85 + ,3449.15 + ,3522.89 + ,3551.04 + ,3669.15 + ,3602 + ,3697.22 + ,3760.9 + ,3665.08 + ,3708.8 + ,3858.21 + ,3933.16 + ,3946.98 + ,3794.29 + ,3765.56 + ,3820.33 + ,3885.12 + ,3752.67 + ,3683.79 + ,3240.75 + ,3188.82 + ,3017.98 + ,3237.2 + ,3182.53 + ,2906.42 + ,2881.35 + ,2915.64 + ,2635.13 + ,2331.43 + ,2159.04 + ,2065.46 + ,1983.48 + ,1770.41 + ,1815.99 + ,2026.97 + ,2124.81 + ,2098.28 + ,2291.39 + ,2401.57 + ,2453.89 + ,2409.53) > 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/html/rcomp/tmp/1u9qv1260381327.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] 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/html/rcomp/tmp/2jzuk1260381327.tab") > > system("convert tmp/1u9qv1260381327.ps tmp/1u9qv1260381327.png") > > > proc.time() user system elapsed 0.834 0.208 0.904