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(85,105,105,96,88,93,93,69,83,83,93,69,86,90,87,92,75,89,88,87,113,102,101,87,105,101,79,86,95,104,79,86,81,92,95,97,87,94,105,94,88,105,113,69,69,100,113,88,104,94,91,103,95,69,86,108,83,102,94,113,113,93,105,88,90,92,81,86,85,86,97,103,102,81,90,91,87,89,85,81,80,75,84,91,87,90,72,96,88,73,86,67,89,94,88,77,89,104,89,107,96,111,84,83,82,105,100,111,90,87,90,67,84,84,96,67,90,83,78,100,67,94,89,89,111,88,94,111,111,105,97,83,105,69,80,87,67,92,102,90,98,94,101,96,94,105,105,84,72,96,94,107,103,95,73,110,84,67,73,84,79,91,92,107,111,89,110,98,95,84,73,86,98,90,97,106,106,84,97,88,87,92,91,80,73,73,77,86,82,82,73,99,90,78,100,73,95,93,91,81,98,88,90,85,79,107,82,98,84,99,89,105,94,92,81,86,90,101,73,88,90,84,89,73,98,82,77,107,84,93,96,107,95,89,82,92,100,75,94,83,92,102,98,94,83,107,107,91,83) > par1 = '20' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, Histogram and QQplot (v1.0.1) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/Ian.Holliday/rwasp_varia1.wasp#output/ > #Source of accompanying publication: > #Technical description: > postscript(file="/var/www/html/rcomp/tmp/1l5qa1256558140.ps",horizontal=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/html/rcomp/tmp/22jrc1256558140.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > qqnorm(x) > qqline(x, col=2) > 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,'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/html/rcomp/tmp/3r2bq1256558140.tab") > system("convert tmp/1l5qa1256558140.ps tmp/1l5qa1256558140.png") > system("convert tmp/22jrc1256558140.ps tmp/22jrc1256558140.png") > > > proc.time() user system elapsed 0.553 0.325 0.681