R version 2.15.3 (2013-03-01) -- "Security Blanket" Copyright (C) 2013 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(30,27,9,20,3,15,5,10,23,34,20,17,26,16,17,15,38,16,38,15,5,18,8,33,12,22,23,45,8,45,9,45,21,16,17,31,15,22,14,13,37,23,22,15,43,27,21,36,38,12,1,25,20,11,55,39,24,2,3,16,45,24,12,34,43,18,18,34,29,15,6,58,37,13,12,9,20,29,13,36,33,23,22,1,3,15,13,44,11,20,28,14,7,8,9,33,4,22,7,14,24,13,30,19,34,9,27) > par1 = '18' > xlab = 'Stress' > main = 'Howell' > par1 <- '18' > #'GNU S' R Code compiled by R2WASP v. 1.2.291 () > #Author: root > #To cite this work: Ian E. Holliday, 2012, Histogram, QQplot and Density Plot (v1.0.1) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/Ian.Holliday/rwasp_Distributional Plots.wasp/ > #Source of accompanying publication: > # > x <- x[!is.na(x)] > postscript(file="/var/wessaorg/rcomp/tmp/15m4t1368736028.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/wessaorg/rcomp/tmp/256xv1368736028.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/wessaorg/rcomp/tmp/3o1f21368736028.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/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,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/wessaorg/rcomp/tmp/4y6bn1368736028.tab") > > try(system("convert tmp/15m4t1368736028.ps tmp/15m4t1368736028.png",intern=TRUE)) character(0) > try(system("convert tmp/256xv1368736028.ps tmp/256xv1368736028.png",intern=TRUE)) character(0) > try(system("convert tmp/3o1f21368736028.ps tmp/3o1f21368736028.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 2.168 0.472 2.610