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. > x <- c(43.67 + ,44.00 + ,47.00 + ,47.00 + ,47.00 + ,48.33 + ,49.00 + ,49.33 + ,49.67 + ,51.00 + ,51.00 + ,51.00 + ,51.00 + ,52.67 + ,53.33 + ,53.67 + ,53.67 + ,54.00 + ,54.00 + ,54.33 + ,54.33 + ,54.67 + ,54.67 + ,54.67 + ,55.00 + ,55.00 + ,55.33 + ,55.33 + ,55.33 + ,55.67 + ,55.67 + ,56.00 + ,56.00 + ,56.00 + ,56.33 + ,56.33 + ,56.67 + ,56.67 + ,56.67 + ,56.67 + ,57.00 + ,57.33 + ,57.33 + ,57.67 + ,57.67 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.33 + ,58.33 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,59.00 + ,59.00 + ,59.33 + ,59.33 + ,59.33 + ,59.33 + ,59.33 + ,59.67 + ,59.67 + ,59.67 + ,59.67 + ,59.67 + ,59.67 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.33 + ,60.33 + ,60.33 + ,60.33 + ,60.33 + ,60.33 + ,60.67 + ,60.67 + ,60.67 + ,60.67 + ,60.67 + ,61.00 + ,61.00 + ,61.00 + ,61.00 + ,61.00 + ,61.00 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,62.00 + ,62.00 + ,62.00 + ,62.00 + ,62.00 + ,62.00 + ,62.33 + ,62.33 + ,62.33 + ,62.33 + ,62.67 + ,63.00 + ,63.00 + ,63.00 + ,63.33 + ,63.33 + ,63.33 + ,63.33 + ,63.33 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.33 + ,64.33 + ,64.67 + ,64.67 + ,64.67 + ,64.67 + ,65.00 + ,65.00 + ,65.00 + ,65.33 + ,65.33 + ,65.67 + ,65.67 + ,65.67 + ,65.67 + ,65.67 + ,66.00 + ,66.00 + ,66.00 + ,66.00 + ,66.33 + ,66.33 + ,66.67 + ,66.67 + ,66.67 + ,66.67 + ,67.33 + ,67.67 + ,68.00 + ,68.67 + ,69.00 + ,70.00 + ,70.33) > par1 = '10' > ylab = 'Y avriable Name' > xlab = 'Final year grade' > postscript(file="/var/wessaorg/rcomp/tmp/1wwol1318946782.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > par1 <- as.numeric(par1) > myhist<-hist(x, breaks=par1, col=2) > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/230wd1318946782.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > qqline(x, col=2, xlab=xlab, ylab=ylab) > 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,'Descriptive Statistics',3,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'mean',header=TRUE) > a<-table.element(a,mean(x)) > a<-table.element(a,hyperlink('http://www.xycoon.com/arithmetic_mean.htm','formula','click to see the formula')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'standard deviation',header=TRUE) > a<-table.element(a,sd(x)) > a<-table.element(a,hyperlink('http://www.xycoon.com/unbiased1.htm','formula','click to see the formula')) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/wessaorg/rcomp/tmp/3tnas1318946782.tab") > > try(system("convert tmp/1wwol1318946782.ps tmp/1wwol1318946782.png",intern=TRUE)) character(0) > try(system("convert tmp/230wd1318946782.ps tmp/230wd1318946782.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.758 0.128 0.894