R version 2.12.0 (2010-10-15) Copyright (C) 2010 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(60.33,60.33,60.40,60.47,60.67,60.67,60.67,60.67,60.67,60.73,60.80,60.87,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.00,61.27,61.27,61.33,61.33,61.33,61.33,61.33,61.33,61.33,61.33,61.40,61.40,61.47,61.47,61.60,61.60,61.60,61.67,61.67,61.67,61.67,61.67,61.67,61.67,61.67,61.67,61.80,61.87,61.93,61.93,61.93,62.00,62.00,62.00,62.00,62.00,62.00,62.00,62.13,62.20,62.33,62.33,62.33,62.33,62.40,62.40,62.40,62.40,62.40,62.53,62.60,62.60,62.60,62.60,62.67,62.67,62.67,62.80,62.80,62.80,62.87,62.87,62.93,62.93,63.00,63.00,63.00,63.00,63.00,63.07,63.13,63.20,63.27,63.33,63.33,63.33,63.33,63.33,63.33,63.33,63.47,63.53,63.53,63.53,63.60,63.67,63.67,63.67,63.67,63.67,63.67,63.67,63.67,63.67,63.67,63.67,63.67,63.73,63.73) > par1 = '10' > ylab = 'Y avriable Name' > xlab = 'X variable Name' > postscript(file="/var/www/rcomp/tmp/1m7bq1318888687.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/www/rcomp/tmp/2kcwo1318888687.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/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/www/rcomp/tmp/3kez31318888687.tab") > > try(system("convert tmp/1m7bq1318888687.ps tmp/1m7bq1318888687.png",intern=TRUE)) character(0) > try(system("convert tmp/2kcwo1318888687.ps tmp/2kcwo1318888687.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.97 0.09 1.05