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(684.28 + ,722.57 + ,695.96 + ,688.13 + ,720.76 + ,737.26 + ,736.9 + ,727.38 + ,728.83 + ,715.58 + ,735.93 + ,758.69 + ,758.69 + ,740.99 + ,719.44 + ,721.24 + ,737.38 + ,756.52 + ,745.32 + ,733.76 + ,738.46 + ,736.65 + ,737.5 + ,725.22 + ,722.45 + ,720.44 + ,733.6 + ,662.93 + ,763.87 + ,746.67 + ,712.59 + ,655.02 + ,660.2 + ,633.59 + ,627.08 + ,635.63 + ,668.87 + ,656.7 + ,631.9 + ,610.83 + ,632.98 + ,631.06 + ,644.3 + ,647.55 + ,655.14 + ,674.4 + ,676.21 + ,670.43 + ,683.43 + ,703.42 + ,708.48 + ,714.5 + ,706.19 + ,694.15 + ,658.15 + ,648.4 + ,630.82 + ,634.19 + ,658.15 + ,636.11 + ,640.33 + ,601.8 + ,611.07 + ,634.31 + ,625.76 + ,596.86 + ,604.09 + ,587.11 + ,583.13 + ,579.16 + ,551.47 + ,541.83 + ,569.53 + ,564.71 + ,572.06 + ,578.56 + ,595.78 + ,567.84 + ,534.25 + ,519.08 + ,531.96 + ,551.83 + ,560.62 + ,579.52 + ,593.13 + ,626.72 + ,715.1 + ,832.38 + ,837.2 + ,879.46 + ,881.99 + ,1044.9 + ,924.73 + ,987.95 + ,966.15 + ,1016.72 + ,1107.27 + ,1296.67 + ,1379.75 + ,1543.03 + ,1570.12 + ,1538.81 + ,1484.63 + ,1451.27 + ,1414.91 + ,1456.93 + ,1319.19 + ,1267.89 + ,1349.77 + ,1240.2 + ,1189.51 + ,1117.87 + ,1080.06 + ,1054.77 + ,1019.47 + ,1049.96 + ,1060.79 + ,1070.42 + ,1075.24 + ,1080.06 + ,1074.04 + ,1062 + ,1064.4 + ,1071.63 + ,1057.18 + ,898.24 + ,895.83 + ,951.22 + ,936.77 + ,901.85 + ,888.61 + ,870.55 + ,887.41 + ,596.02 + ,586.39 + ,596.02 + ,721 + ,777.51 + ,723.48 + ,680.64 + ,613.45 + ,558.18 + ,641.49 + ,652.19 + ,619.37 + ,655.83 + ,667.93 + ,667.7 + ,663.07 + ,633.89 + ,595.28 + ,568.94 + ,572.72 + ,535.26 + ,508.04 + ,512.94 + ,495.22 + ,469.37 + ,469.37 + ,429.69 + ,468.13 + ,470.06 + ,464.93 + ,450.74 + ,423.51 + ,454.84 + ,497.77 + ,465.45 + ,542.31 + ,606.03 + ,609.58 + ,645.79 + ,719.63 + ,779.41 + ,773.5 + ,806.82 + ,876.1 + ,824.64 + ,881.7 + ,878.41 + ,904.18 + ,892.34 + ,887.13 + ,867.85 + ,839.28 + ,826.06 + ,751.11 + ,789.25 + ,732.98 + ,622.07 + ,600.95 + ,590.53 + ,584.39 + ,525.31 + ,573.83 + ,597.67 + ,743.54 + ,701.36 + ,671.43 + ,751.65 + ,738.33 + ,681.61 + ,616.97 + ,632.94 + ,677.73 + ,730.96 + ,719.66 + ,764.21 + ,805 + ,829.35 + ,826.26 + ,765.93 + ,801.91 + ,769.16 + ,739.89 + ,688.07 + ,636.11 + ,631.72 + ,625.92 + ,627.82 + ,606.13 + ,595.3 + ,583.14 + ,500.19 + ,462.89 + ,417.47 + ,472.27 + ,474.81 + ,489.07 + ,493.14 + ,626.64 + ,680.43 + ,620.3 + ,676.74 + ,690.03 + ,631.04 + ,623.26 + ,619.83 + ,631.74 + ,648.77 + ,724.21 + ,727.09 + ,767.31 + ,801.42 + ,817.72 + ,764.33 + ,746.93 + ,717.29 + ,695.9 + ,688.38 + ,663.53 + ,688.39 + ,716.14 + ,733.28 + ,688.23 + ,760.63 + ,716.77 + ,683.81 + ,630.79 + ,617.91 + ,524.19 + ,441.98 + ,466.09 + ,501.44 + ,599.55 + ,621.99 + ,607.57 + ,614.56 + ,619.09 + ,603.14 + ,569.12 + ,575.72 + ,642.41 + ,748.18 + ,768.39 + ,763.16 + ,800.63 + ,778.49 + ,733.7 + ,740.17 + ,678.33 + ,697.09 + ,678.54 + ,670.87 + ,674.52 + ,664.39 + ,646.52 + ,661.25 + ,729.36 + ,721.52 + ,708.75 + ,706.12 + ,676.93 + ,708.15 + ,717.64 + ,714.35 + ,703.6 + ,718.96 + ,736.03 + ,717.96 + ,730.77 + ,734.66 + ,728.58 + ,729.18 + ,717.13 + ,684.6 + ,692.06 + ,668.84 + ,647.4 + ,622.57 + ,593.69 + ,583.24 + ,639.17 + ,709.73 + ,698.75 + ,697.7 + ,732.25 + ,714.49 + ,704.85 + ,717.56 + ,704.91 + ,690.74 + ,790.34 + ,790.69 + ,893.66 + ,875.62 + ,914.02 + ,940.37 + ,989.08 + ,987.73 + ,936.34 + ,914.11 + ,943.08 + ,1080.64 + ,1102.71 + ,1097.26 + ,1157.37 + ,1154.25 + ,1136 + ,1133.42 + ,1062.44 + ,1041.1 + ,1047.97 + ,941.71 + ,896.79 + ,734.91 + ,646.17 + ,666.39 + ,625.45 + ,586.26 + ,617.15 + ,686.86 + ,761.34 + ,741.73 + ,763.62 + ,822.57 + ,867.58 + ,944.85 + ,953.95 + ,970.08 + ,1003.22 + ,972.81 + ,1003.86 + ,991.83 + ,919.13 + ,919.52 + ,916.17 + ,936.18 + ,960.65) > par4 = '12' > par3 = 'Prices in US Cents per Kilogram (units) 1980 -2010' > par2 = 'mongabay' > par1 = 'Wool fine' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = '' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, 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: > #Technical description: > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 417.5 626.6 708.8 750.0 822.6 1570.0 > n <- length(x) > postscript(file="/var/www/html/rcomp/tmp/1hm7f1289314723.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par4=='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,10)) + } > if (par4!='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,par4)) + grid(nx=0,ny=NULL,col='black') + abline(v=seq(1,n,par4),col='black',lty='dotted') + } > 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,'Univariate Dataseries',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Name of dataseries',header=TRUE) > a<-table.element(a,par1) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Source',header=TRUE) > a<-table.element(a,par2) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Description',header=TRUE) > a<-table.element(a,par3) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Number of observations',header=TRUE) > a<-table.element(a,length(x)) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/2dw451289314723.tab") > > try(system("convert tmp/1hm7f1289314723.ps tmp/1hm7f1289314723.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.470 0.221 0.586