R version 2.12.0 (2010-10-15) 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(5939520.00,89948768.00,80953652.00,85942882.00,8944937.00,82975432.00,24940816.00,21973899.00,37950221.00,45949881.00,85950373.00,48960313.00,81954506.00,24960419.00,65973338.00,22950513.00,54963528.00,90995659.00,91967517.00,28999053.00,96990529.00,38979852.00,81496957.00,74982424.00,70976192.00,90990000.00,12998850.00,92986156.00,67994976.00,91022206.00,87992489.00,421022698.00,11018942.00,79100042.00,65996442.00,51000620.00,12996871.00,44994249.00,99996135.00,91977037.00,63974211.00,15998036.00,65974265.00,33984410.00,45939098.00,67935827.00,66921032.00,89911836.00,71890975.00,72880342.00,28871286.00,41844334.00,82847667.00,24871401.00,3867451.00,99896846.00,41890361.00,45884264.00,69884586.00,95896400.00,39904491.00,81900399.00,27909863.00,88900470.00,89917101.00,2945005.00,4934411.00,61957264.00,31946515.00,3938309.00,52933321.00,21947613.00) > par3 = '0.1' > par2 = '0.9' > par1 = '0.1' > 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/1wevb1305144397.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] 9 > 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/2rzts1305144397.tab") > > try(system("convert tmp/1wevb1305144397.ps tmp/1wevb1305144397.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.580 0.280 0.858