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(4388373 + ,3693735 + ,3907312 + ,4181348 + ,3620181 + ,4348829 + ,4625348 + ,3804627 + ,4544584 + ,5066645 + ,4078534 + ,3745722 + ,3552743 + ,3601571 + ,3433988 + ,3692862 + ,3454832 + ,3397402 + ,3420028 + ,3284966 + ,3184667 + ,3190724 + ,3536563 + ,3166755 + ,3120449 + ,3205571 + ,3165900 + ,3077281 + ,3554383 + ,3302514 + ,2832157 + ,2823122 + ,2833848 + ,2997269 + ,3002468 + ,3190853 + ,3116021 + ,3170311 + ,3036823 + ,3184757 + ,3053463 + ,3267532 + ,3232991 + ,3486124 + ,3593010 + ,3317675 + ,3440262 + ,3796403 + ,3560603 + ,3851000 + ,3724466 + ,3756955 + ,3848949 + ,4021178 + ,3733102 + ,3803364 + ,4032201 + ,3881670 + ,3834499 + ,4147843 + ,4751348 + ,4941342 + ,4270105 + ,3802230 + ,3768645 + ,4066594 + ,3996501 + ,3616939 + ,3396091 + ,3529569 + ,3480988 + ,3356168 + ,3307048 + ,3678780 + ,3492646 + ,3195685 + ,3170892 + ,3179460 + ,3241494 + ,3125983 + ,3305627 + ,3422977 + ,3497549 + ,2923266 + ,2915847 + ,3026828 + ,3090246 + ,3325727 + ,3215490 + ,3103716 + ,3125581 + ,3170001 + ,3183922 + ,3375161 + ,3552302 + ,3660216 + ,3583854 + ,3449644 + ,3541948 + ,3963394 + ,3978167 + ,3777944 + ,3880012 + ,4391502 + ,3874293 + ,3818523 + ,4332247 + ,5251123 + ,4418607 + ,3974822 + ,4736792 + ,3989514 + ,4254892 + ,4043933 + ,3927446 + ,4018658 + ,3744912 + ,4311176 + ,4119382 + ,3692637 + ,3763913 + ,3644838 + ,3495784 + ,3620879 + ,3490327 + ,3838441 + ,3452974 + ,3414420 + ,3350028 + ,3110010 + ,3330994 + ,3219399 + ,3308826 + ,3751647 + ,3595068 + ,3071253 + ,3064349 + ,3203886 + ,3204911 + ,3294084) > par3 = '0' > par2 = '0.95' > par1 = 'two.sided' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, 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: > par2 <- as.numeric(par2) > par3 <- as.numeric(par3) > (tt <- t.test(x,mu=par3,alternative=par1,conf.level=par2)) One Sample t-test data: x t = 90.2243, df = 139, p-value < 2.2e-16 alternative hypothesis: true mean is not equal to 0 95 percent confidence interval: 3524489 3682422 sample estimates: mean of x 3603456 > > #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,'One Sample t-test',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'H0',header=TRUE) > a<-table.element(a,tt$null.value) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Alternative',header=TRUE) > a<-table.element(a,tt$alternative) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'CI',header=TRUE) > a<-table.element(a,par2) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Sample Mean',header=TRUE) > a<-table.element(a,mean(x)) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'T-Test',header=TRUE) > a<-table.element(a,tt$statistic) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'DF',header=TRUE) > a<-table.element(a,tt$parameter) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'P-Value',header=TRUE) > a<-table.element(a,tt$p.value) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/rcomp/tmp/1m1ya1322567417.tab") > > > > proc.time() user system elapsed 0.310 0.010 0.317