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(10.17463007 + ,11.70685947 + ,0.336629956 + ,12.81545815 + ,18.48134929 + ,19.15 + ,11.98976509 + ,15.96311694 + ,12.36867636 + ,17.85359417 + ,13.33972078 + ,17.43586247 + ,7.971763963 + ,16.49423975 + ,9.589676646 + ,13.0201353 + ,18.30998406 + ,5.311440585 + ,16.14544025 + ,9.61483208 + ,6.97001928 + ,17.8328823 + ,10.43631816 + ,12.49521893 + ,13.13014142 + ,12.5995365 + ,16.89272827 + ,15.95822221 + ,17.44624506 + ,13.36096345 + ,11.70208318 + ,12.6700532 + ,9.942922584 + ,12.47787034 + ,16.1794073 + ,11.34269609 + ,10.61458743 + ,13.63362964 + ,19.3 + ,14.17862044 + ,12.13110302 + ,14.29122225 + ,15.90424527 + ,15.30537883 + ,12.71711954 + ,10.1041787 + ,15.10633448 + ,14.97472539 + ,13.14940394 + ,8.803370342 + ,11.37671367 + ,16.48829016 + ,15.28690517 + ,15.87449367 + ,8.991891655 + ,14.52069002 + ,10.73329293 + ,12.11255989 + ,13.12039076 + ,11.17618446 + ,9.852452086 + ,10.83826353 + ,10.01602482 + ,9.98429329 + ,13.90654664 + ,17.43829448 + ,14.13651406 + ,12.95465875 + ,6.405875596 + ,13.00827743 + ,8.843896805 + ,14.95275123 + ,9.985399433 + ,15.85289071 + ,6.304871788 + ,11.70744131 + ,14.6847188 + ,9.063740747 + ,14.09669644 + ,11.45807414 + ,14.5766967 + ,8.013459929 + ,10.91719297 + ,9.680449615 + ,12.30631181 + ,19.15 + ,9.974038576 + ,10.61396958 + ,12.39969169 + ,13.89235106 + ,15.3368091 + ,11.27570477 + ,11.46890639 + ,7.705473469 + ,17.80919895 + ,17.4519668 + ,2.080910919 + ,13.09820752 + ,11.29135539 + ,2.507172277 + ,7.823664497 + ,10.96662538 + ,8.284173862 + ,5.69261529 + ,4.687276457 + ,13.25987215 + ,3.580093526 + ,9.733116837 + ,11.88651299 + ,11.3271032 + ,12.99614065 + ,10.51715507 + ,13.71616844 + ,15.32447894 + ,13.82274766 + ,11.71158746 + ,1.908370816 + ,13.82088431 + ,8.241327352 + ,10.5053078 + ,8.180917703 + ,2.322655495 + ,12.28598307 + ,12.54906448 + ,13.11109062 + ,11.7934321 + ,10.81286184 + ,3.068772109 + ,9.674855276 + ,11.39973018 + ,7.166265475 + ,13.46103292 + ,9.81357389) > 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/1xy7k1323791408.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/21isp1323791408.tab") > > try(system("convert tmp/1xy7k1323791408.ps tmp/1xy7k1323791408.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.272 0.148 1.632