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(88 + ,98 + ,89 + ,81 + ,88 + ,95 + ,79 + ,91 + ,80 + ,91 + ,85 + ,94 + ,86 + ,82 + ,107 + ,97 + ,78 + ,91 + ,74 + ,95 + ,97 + ,112 + ,80 + ,98 + ,102 + ,100 + ,97 + ,92 + ,114 + ,88 + ,96 + ,91 + ,114 + ,91 + ,114 + ,89 + ,103 + ,83 + ,74 + ,88 + ,88 + ,98 + ,74 + ,86 + ,93 + ,85 + ,91 + ,75 + ,97 + ,88 + ,79 + ,106 + ,102 + ,98 + ,98 + ,114 + ,95 + ,98 + ,82 + ,97 + ,94 + ,84 + ,88 + ,83 + ,98 + ,106 + ,94 + ,91 + ,89 + ,102 + ,103 + ,96 + ,89 + ,112 + ,74 + ,74 + ,102 + ,106 + ,91 + ,94 + ,98 + ,85 + ,108 + ,90 + ,74 + ,81 + ,104 + ,90 + ,95 + ,85 + ,114 + ,114 + ,93 + ,104 + ,92 + ,100 + ,92 + ,77 + ,86 + ,87 + ,91 + ,102 + ,100 + ,113 + ,95 + ,92 + ,95 + ,97 + ,92 + ,104 + ,79 + ,78 + ,79 + ,86 + ,92 + ,78 + ,86 + ,71 + ,90 + ,93 + ,80 + ,90 + ,77 + ,86 + ,89 + ,88 + ,86 + ,97 + ,81 + ,88 + ,82 + ,82 + ,100 + ,91 + ,111 + ,102 + ,105 + ,92 + ,100 + ,82 + ,91 + ,71 + ,71 + ,89 + ,82 + ,105 + ,71 + ,91 + ,105 + ,82 + ,86 + ,72 + ,98 + ,80 + ,84 + ,109 + ,80 + ,112 + ,86 + ,112 + ,90 + ,96 + ,84 + ,94 + ,112 + ,81 + ,105 + ,77 + ,105 + ,112 + ,91 + ,92 + ,72 + ,100 + ,103 + ,89 + ,86 + ,112 + ,71 + ,73 + ,99 + ,85 + ,80 + ,88 + ,95 + ,86 + ,92 + ,96 + ,71 + ,88 + ,98 + ,108 + ,103 + ,81 + ,96 + ,112 + ,95 + ,92 + ,103 + ,95 + ,94 + ,79 + ,91 + ,87 + ,82 + ,97 + ,92 + ,112 + ,95 + ,87 + ,91 + ,84 + ,92 + ,84 + ,84 + ,69 + ,84 + ,84 + ,85 + ,89 + ,83 + ,86 + ,91 + ,90 + ,77 + ,88 + ,88 + ,88 + ,102 + ,103 + ,84 + ,87 + ,88 + ,93 + ,101 + ,88 + ,113 + ,95 + ,99 + ,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 + ,100 + ,77 + ,74 + ,92 + ,100 + ,92 + ,93 + ,89 + ,86 + ,97 + ,82 + ,73 + ,93 + ,97 + ,93 + ,89 + ,86 + ,89 + ,107 + ,90 + ,104 + ,96 + ,93 + ,104 + ,83 + ,92 + ,83 + ,83 + ,96 + ,84 + ,107) > 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/ > #Source of accompanying publication: > #Technical description: > postscript(file="/var/www/html/rcomp/tmp/1bt5z1256486036.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/2ptwh1256486036.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/3xfkz1256486036.tab") > > system("convert tmp/1bt5z1256486036.ps tmp/1bt5z1256486036.png") > system("convert tmp/2ptwh1256486036.ps tmp/2ptwh1256486036.png") > > > proc.time() user system elapsed 0.589 0.360 0.723