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(1954,2072,2075,2138,2175,2206,2211,2226,2246,2252,2265,2271,2302,2344,2353,2367,2389,2400,2414,2416,2419,2425,2434,2452,2452,2472,2488,2492,2498,2521,2522,2529,2534,2550,2564,2570,2589,2622,2629,2632,2678,2687,2707,2708,2725,2731,2738,2758,2759,2769,2789,2794,2798,2800,2804,2820,2822,2823,2824,2828,2839,2851,2858,2867,2880,2895,2903,2907,2910,2912,2914,2931,2939,2952,2956,2961,2992,2993,3007,3023,3025,3030,3048,3054,3055,3059,3062,3070,3076,3084,3088,3092,3093,3134,3136,3138,3150,3163,3180,3210,3244,3254,3260,3263,3264,3282,3299,3308,3315,3320,3331,3333,3418,3437,3438,3458,3470,3478,3478,3495,3508,3515,3517,3534,3563,3573,3576,3583,3604,3618,3622,3632,3641,3644,3670,3685,3686,3688,3708,3736,3746,3754,3782,3782,3785,3812,3819,3821,3869,3871,3889,3903,3905,3907,3924,3937,3965,4001,4009,4021,4022,4067,4077,4097,4106,4119,4137,4163,4209,4209,4221,4290,4308,4358,4365,4404,4451,4464,4504,4694,4882,4904,5029,5086,5411,5587,5725) > par3 = '0.1' > par2 = '0.9' > par1 = '0.1' > ylab = 'value' > xlab = 'quantile' > main = 'Wijn decielen' > #'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/1qqzi1268068404.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] 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/html/rcomp/tmp/2zuu61268068404.tab") > > try(system("convert tmp/1qqzi1268068404.ps tmp/1qqzi1268068404.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.627 0.190 0.748