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(-3.3306690738755E-14 + ,0.0044994451612665 + ,-0.0044994451612634 + ,-3.3306690738755E-14 + ,-3.3306690738755E-14 + ,-3.3306690738755E-14 + ,0.0044994451612665 + ,3.6415315207705E-14 + ,-0.0044994451612634 + ,0.0044994451612665 + ,-0.0044994451612634 + ,0.0044994451612665 + ,3.6415315207705E-14 + ,3.6415315207705E-14 + ,0.016142849852637 + ,0.0055066218441779 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-0.0010989012095166 + ,-3.1086244689504E-14 + ,-3.1086244689504E-14 + ,-3.1086244689504E-14 + ,0.0010989012094691 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-0.0010989012095166 + ,-3.1086244689504E-14 + ,0.0010989012094691 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-0.0010989012095166 + ,-3.1086244689504E-14 + ,0.0010989012094691 + ,-1.6431300764452E-14 + ,-0.0010989012095166 + ,-3.1086244689504E-14 + ,0.0010989012094691 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-0.068757549683316 + ,-1.5987211554602E-14 + ,-1.5987211554602E-14 + ,-1.5987211554602E-14 + ,-1.5987211554602E-14 + ,0.063250927839084 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,0.0055066218441779 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-0.0055066218442166 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,0.0055066218441779 + ,-1.6431300764452E-14 + ,-0.0055066218442166 + ,-2.2204460492503E-14 + ,-2.2204460492503E-14 + ,0.0055066218441779 + ,-0.0055066218442166 + ,-2.2204460492503E-14 + ,0.0055066218441779 + ,-1.6431300764452E-14 + ,-0.0055066218442166 + ,-2.2204460492503E-14 + ,0.0055066218441779 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,-0.0055066218442166 + ,0.0055066218441779 + ,-1.6431300764452E-14 + ,-1.6431300764452E-14 + ,0.0043835686632834 + ,2.5757174171304E-14 + ,2.5757174171304E-14 + ,2.5757174171304E-14 + ,2.5757174171304E-14 + ,2.5757174171304E-14 + ,2.5757174171304E-14 + ,2.5757174171304E-14 + ,0.012496766815226 + ,-3.2862601528905E-14 + ,-0.0010804971337333 + ,-0.0021645030095789 + ,0.003245000143294 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-0.0032450001433331 + ,0.003245000143294 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-0.0032450001433331 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,0.003245000143294 + ,-3.2862601528905E-14 + ,-0.0032450001433331 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,0.003245000143294 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-0.0032450001433331 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,-6.2172489379009E-15 + ,0.003245000143294 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-3.2862601528905E-14 + ,-0.0010804971337333 + ,2.0872192862953E-14 + ,2.0872192862953E-14 + ,0.0010804971337213 + ,-0.028479471321833 + ,-0.057158413839964 + ,-1.5987211554602E-14 + ,0.10594857800938 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0010587613481965 + ,0.0010587613482453 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0010587613481965 + ,4.5741188614556E-14 + ,4.5741188614556E-14 + ,4.5741188614556E-14 + ,4.5741188614556E-14 + ,-0.0042462908814542 + ,-3.5527136788005E-15 + ,-3.5527136788005E-15 + ,-3.5527136788005E-15 + ,0.0010632643212962 + ,-3.3750779948605E-14 + ,-3.3750779948605E-14 + ,0.004241787908366 + ,-0.0010587613481965 + ,4.5741188614556E-14 + ,0.0010587613482453 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,0.004241787908366 + ,-0.0042417879083967 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,-3.3750779948605E-14 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,-3.3750779948605E-14 + ,-3.3750779948605E-14 + ,0.004241787908366 + ,-0.0042417879083967 + ,-3.3750779948605E-14 + ,0.004241787908366 + ,-0.0042417879083967 + ,0.004241787908366 + ,-0.0042417879083967 + ,-3.3750779948605E-14 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,-3.3750779948605E-14 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,-0.0042417879083967 + ,0.004241787908366 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,0.0052770571008032 + ,0.0021030501967596 + ,-1.9539925233403E-14 + ,-1.9539925233403E-14 + ,-1.9539925233403E-14 + ,-1.9539925233403E-14 + ,-1.9539925233403E-14 + ,0.0026226083744807 + ,4.3964831775156E-14 + ,4.3964831775156E-14 + ,-0.010002715672056 + ,3.1086244689504E-15 + ,0.010002715672103 + ,-0.010002715672056 + ,0.010002715672103 + ,4.3964831775156E-14 + ,4.3964831775156E-14 + ,4.3964831775156E-14 + ,4.3964831775156E-14 + ,4.3964831775156E-14 + ,-0.010002715672056 + ,0.010002715672103 + ,-0.0047256585712563 + ,-0.0052770571008405 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,0.010002715672103 + ,4.3964831775156E-14 + ,4.3964831775156E-14 + ,-0.010002715672056 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15 + ,3.1086244689504E-15) > 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/1me921290173719.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/2qe781290173719.tab") > > try(system("convert tmp/1me921290173719.ps tmp/1me921290173719.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.105 0.214 2.357