R version 2.13.0 (2011-04-13) Copyright (C) 2011 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. > y <- c(140824,110459,105079,112098,43929,76173,22807,144408,66485,79089,81625,68788,103297,69446,114948,167949,125081,125818,136588,112431,82317,118906,83515,104581,103129,83243,37110,113344,139165,86652,112302,69652,119442,69867,70168,31081,103925,92622,79011,93487,64520,93473,114360,33032,96125,151911,89256,95671,5950,149695,32551,31701,100087,169707,150491,120192,95893,151715,176225,59900,104767,114799,72128,143592,89626,131072,126817,81351,22618,88977,92059,81897,108146,126372,249771,71154,71571,55918,160141,38692,102812,56622,15986,123534,108535,93879,144551,56750,127654,65594,59938,146975,143372,168553,183500,165986,184923,140358,149959,57224,43750,48029,104978,100046,101047,197426,160902,147172,109432,1168,83248,25162,45724,855,101382,14116,89506,135356,116066,144244,8773,102153,117440,104128,134238,134047,279488,79756,66089,102070,146760,154771,165933,64593,92280,67150,128692,124089,125386,37238,140015,150047,154451,156349,84601,68946,6179,52789,100350) > x <- c(272545 + ,179444 + ,222373 + ,218443 + ,167843 + ,70849 + ,33186 + ,216660 + ,213274 + ,307153 + ,237633 + ,166215 + ,364402 + ,244103 + ,384448 + ,325587 + ,323652 + ,176082 + ,266736 + ,278265 + ,180393 + ,189897 + ,234247 + ,238002 + ,267268 + ,270787 + ,155915 + ,342564 + ,282172 + ,216584 + ,318563 + ,98672 + ,391593 + ,273950 + ,227636 + ,115658 + ,349863 + ,324178 + ,178083 + ,195153 + ,177694 + ,153778 + ,455168 + ,78800 + ,208051 + ,348077 + ,175523 + ,224591 + ,24188 + ,372238 + ,65029 + ,101097 + ,279012 + ,317644 + ,340471 + ,358958 + ,252529 + ,377482 + ,304468 + ,270190 + ,264889 + ,228595 + ,216027 + ,198798 + ,238146 + ,234891 + ,175816 + ,239314 + ,73566 + ,242622 + ,187167 + ,209049 + ,360592 + ,342846 + ,207650 + ,206500 + ,182357 + ,153613 + ,456979 + ,145943 + ,280366 + ,80953 + ,150216 + ,167878 + ,369718 + ,322454 + ,179797 + ,264350 + ,262793 + ,189142 + ,275997 + ,328875 + ,189252 + ,222504 + ,287386 + ,389104 + ,397681 + ,287748 + ,294320 + ,186856 + ,43287 + ,185468 + ,235352 + ,268077 + ,305195 + ,143356 + ,154287 + ,307000 + ,298039 + ,23623 + ,195817 + ,61857 + ,163766 + ,21054 + ,252805 + ,31961 + ,317367 + ,240153 + ,175083 + ,152043 + ,38214 + ,216299 + ,357602 + ,198104 + ,410803 + ,316105 + ,397297 + ,187992 + ,102424 + ,286327 + ,409878 + ,143860 + ,391854 + ,157429 + ,258751 + ,282399 + ,217665 + ,367246 + ,239072 + ,173260 + ,323545 + ,168994 + ,253330 + ,301703 + ,246435 + ,384136 + ,46660 + ,116678 + ,206501) > ylab = 'Aantal characters' > xlab = 'Tijd in rfc' > #'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!) > library('Kendall') > k <- Kendall(x,y) > postscript(file="/var/wessaorg/rcomp/tmp/1zypa1324215485.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > > plot(x,y,main='Scatterplot',xlab=xlab,ylab=ylab) > grid() > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/22cat1324215485.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > > plot(rank(x),rank(y),main='Scatterplot of Ranks',xlab=xlab,ylab=ylab) > grid() > dev.off() null device 1 > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Kendall tau Rank Correlation',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Kendall tau',header=TRUE) > a<-table.element(a,k$tau) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'2-sided p-value',header=TRUE) > a<-table.element(a,k$sl) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Score',header=TRUE) > a<-table.element(a,k$S) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Var(Score)',header=TRUE) > a<-table.element(a,k$varS) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Denominator',header=TRUE) > a<-table.element(a,k$D) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/31fw41324215485.tab") > > try(system("convert tmp/1zypa1324215485.ps tmp/1zypa1324215485.png",intern=TRUE)) character(0) > try(system("convert tmp/22cat1324215485.ps tmp/22cat1324215485.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.726 0.157 0.881