R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 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. > > RC.capture <- function (expression, collapse = NULL) { + resultConn <- textConnection('RC.resultText', open = 'w', local=TRUE) + sink(resultConn) + on.exit(function() { + sink() + close(resultConn) + }) + expression + on.exit(NULL) + sink() + close(resultConn) + return(paste(c(RC.resultText, ''), collapse = collapse, sep = '')) + } > RC.texteval <- function (sourceText, collapse = NULL, echo = TRUE) { + sourceConn <- textConnection(sourceText, open = 'r') + on.exit(close(sourceConn)) + result <- RC.capture(source(file = sourceConn, local = FALSE, echo = echo, print.eval = TRUE), collapse = collapse) + on.exit(NULL) + close(sourceConn) + res <- '' + for(i in 1:length(result)) { + if (result[i]!='') res <- paste(res,result[i],' + ',sep='') + } + return(res) + } > x <- c(2.95523E+14 + ,2.85992E+14 + ,3.56904E+14 + ,5.18305E+14 + ,-2.09435E+14 + ,0.537871166893266 + ,-1.11424E+14 + ,2.1201E+14 + ,0.635953435184424 + ,-1.95845E+14 + ,0.0676684960188663 + ,-0.648640862841488 + ,-2.10493E+14 + ,-8.75262E+14 + ,0.48136827168983 + ,0.469257769604473 + ,-1.90158E+14 + ,0.910007056128391 + ,-0.386133612172243 + ,0.974987731700064 + ,1.14742E+14 + ,-4.19515E+14 + ,1.83934E+14 + ,1.87087E+14 + ,1.02247E+14 + ,2.85784E+14 + ,-0.893855607099725 + ,-0.890853110787265 + ,1.18609E+14 + ,1.76377E+14 + ,-0.315223925016178 + ,0.434542669783982 + ,0.276560144464606 + ,0.30344240188372 + ,5.97021E+14 + ,4.27866E+14 + ,-2.3166E+14 + ,1.01524E+14 + ,-0.823692458855778 + ,4.51119E+14 + ,3.76878E+14 + ,2.44199E+14 + ,-1.11502E+14 + ,-1.56889E+14 + ,1.47515E+14 + ,-0.0519563480829026 + ,1.23946E+14 + ,2.89215E+14 + ,-6.11945E+14 + ,-0.0275919999425549 + ,-2.2141E+14 + ,-1.01122E+14 + ,-1.44463E+14 + ,1.83251E+14 + ,2.29526E+14 + ,-0.661672767603943 + ,-3.87812E+14 + ,-3.24703E+14 + ,1.43056E+14 + ,2.78088E+14 + ,-0.921882353391465 + ,-1.32623E+14 + ,-2.36266E+14 + ,1.3347E+14 + ,-0.905332461985056 + ,-1.57997E+14 + ,-2.76848E+14 + ,-0.460284781637562 + ,-1.98251E+13 + ,-1.34633E+14 + ,0.631564724214422 + ,4.6744E+14 + ,1.13426E+14 + ,-0.010288595451614 + ,-6.68262E+14 + ,-1.15876E+14 + ,-0.234637689670431 + ,-0.376859906280841 + ,0.157426995481899 + ,-2.1908E+13 + ,-1.4275E+14 + ,-0.184257846087134 + ,2.15747E+14 + ,0.438799486623659 + ,1.3125E+14 + ,1.74138E+14 + ,2.04684E+14 + ,8.14444E+14 + ,2.41377E+14 + ,8.03369E+14 + ,3.12966E+14 + ,-1.43092E+14 + ,4.09324E+14 + ,-1.59413E+14 + ,-1.71981E+14 + ,-5.96568E+14 + ,-1.66142E+14 + ,-7.53541E+14 + ,-8.44891E+14 + ,-6.66422E+14 + ,-9.66217E+13 + ,-4.22322E+14 + ,-5.70009E+14 + ,-7.30285E+14 + ,-8.27425E+14 + ,1.20479E+14 + ,0.715719566545398 + ,0.919894562396872 + ,-6.02608E+12 + ,-4.36747E+13 + ,-5.53892E+14 + ,-2.84491E+14 + ,-2.37486E+14 + ,-5.75053E+14 + ,-0.373009787726465 + ,-0.410613910110725 + ,-2.48075E+14 + ,4.26018E+14 + ,5.13508E+13 + ,4.40458E+14 + ,-0.00619308294894657 + ,3.56681E+14 + ,4.85154E+14 + ,6.73743E+14 + ,2.00382E+14 + ,9.98787E+14 + ,4.98536E+14 + ,4.46628E+14 + ,3.55392E+14 + ,6.70796E+14 + ,2.00129E+14 + ,-0.409342978387845 + ,-4.14478E+14 + ,-4.87959E+14 + ,4.47613E+14 + ,4.75398E+14 + ,-0.0661302586582852 + ,3.56335E+13 + ,0.432913216993828 + ,0.8998481313829 + ,-3.40459E+14 + ,-0.384191267468243 + ,-1.17128E+14) > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2011, YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: > #Technical description: > library(moments) > agostino <- agostino.test(x) > anscombe <- anscombe.test(x) > geary <- geary(x) > jarque <- jarque.test(x) > > #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,'Skewness and Kurtosis Test',1,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('agostino'),'
',sep='')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('anscombe'),'
',sep='')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('jarque'),'
',sep='')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('geary'),'
',sep='')) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/fisher/rcomp/tmp/1oadf1351900609.tab") > > > > proc.time() user system elapsed 0.311 0.067 0.356