R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-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(89,90,82,82,71,80,62,77,80,87,96,80,85,89,89,73,88,86,83,91,98,80,84,90,92,86,117,88,86,78,104,89,99,84,89,95,58,77,77,98,58,81,92,94,87,75,80,84,87,114,97,102,80,112,104,75,82,92,102,73,78,74,92,97,92,91,102,89,98,117,92,70,63,91,106,81,98,88,95,105,90,58,86,112,71,98,87,98,117,98,98,90,84,86,68,86,77,83,90,107,102,90,113,86,105,110,82,89,99,113,91,92,86,91,82,86,86,102,84,80,96,117,88,99,89,86,98,58,98,58,81,90,112,84,84,75,78,94,75,82,87,59,68,80,94,87,70,113,99,90,102,80,98,98,95,104,86,84,85,90,86,97) > par1 = '15' > xlab = 'WJ7ARD' > main = 'Reading skill Year 7' > postscript(file="/var/fisher/rcomp/tmp/1jvau1382710485.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, xlab=xlab, main=main) > dev.off() null device 1 > postscript(file="/var/fisher/rcomp/tmp/2ugn51382710485.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > qqline(x, col=2) > dev.off() null device 1 > postscript(file="/var/fisher/rcomp/tmp/3uex31382710485.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(density(x), xlab=xlab, main=main) > dev.off() null device 1 > > #Note: the /var/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/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,signif(mean(x), 6)) > 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,signif(sd(x), 6)) > 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/fisher/rcomp/tmp/41vyh1382710485.tab") > > try(system("convert tmp/1jvau1382710485.ps tmp/1jvau1382710485.png",intern=TRUE)) character(0) > try(system("convert tmp/2ugn51382710485.ps tmp/2ugn51382710485.png",intern=TRUE)) character(0) > try(system("convert tmp/3uex31382710485.ps tmp/3uex31382710485.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 1.579 0.308 1.873