Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_Two Factor ANOVA.wasp
Title produced by softwareTwo-Way ANOVA
Date of computationTue, 20 Dec 2011 04:12:14 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/20/t1324372401qp8rvekkmqjw4x9.htm/, Retrieved Mon, 06 May 2024 00:42:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=157814, Retrieved Mon, 06 May 2024 00:42:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Two-Way ANOVA] [D1 2Anova] [2011-12-20 09:12:14] [cdf03f2f7d2bbe3f2da091606ae8e03f] [Current]
- R  D    [Two-Way ANOVA] [D1 2Anova] [2011-12-20 12:14:07] [0f81819b439c6e991d1a2004e9982756]
-    D      [Two-Way ANOVA] [D1 2Anova] [2011-12-20 12:23:21] [0f81819b439c6e991d1a2004e9982756]
-    D        [Two-Way ANOVA] [paper (7)] [2012-12-12 21:44:20] [300ac07a477d84a470eebba12c2af4b2]
Feedback Forum

Post a new message
Dataseries X:
'M' 'G1' 20
'M' 'G1' 27
'M' 'G2' 23
'M' 'G2' 21
'M' 'G3' 33
'M' 'G3' 33
'F' 'G1' 25
'F' 'G1' 19
'F' 'G2' 32
'F' 'G2' 26
'F' 'G3' 44
'F' 'G3' 43




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157814&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157814&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157814&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







ANOVA Model
xdf2$Som ~ xdf2$Groep * xdf2$Geslacht
names(Intercept)xdf2$GroepG2xdf2$GroepG3xdf2$GeslachtMxdf2$GroepG2:xdf2$GeslachtMxdf2$GroepG3:xdf2$GeslachtM
means22721.51.5-8.5-12

\begin{tabular}{lllllllll}
\hline
ANOVA Model \tabularnewline
xdf2$Som ~ xdf2$Groep * xdf2$Geslacht \tabularnewline
names & (Intercept) & xdf2$GroepG2 & xdf2$GroepG3 & xdf2$GeslachtM & xdf2$GroepG2:xdf2$GeslachtM & xdf2$GroepG3:xdf2$GeslachtM \tabularnewline
means & 22 & 7 & 21.5 & 1.5 & -8.5 & -12 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157814&T=1

[TABLE]
[ROW][C]ANOVA Model[/C][/ROW]
[ROW][C]xdf2$Som ~ xdf2$Groep * xdf2$Geslacht[/C][/ROW]
[ROW][C]names[/C][C](Intercept)[/C][C]xdf2$GroepG2[/C][C]xdf2$GroepG3[/C][C]xdf2$GeslachtM[/C][C]xdf2$GroepG2:xdf2$GeslachtM[/C][C]xdf2$GroepG3:xdf2$GeslachtM[/C][/ROW]
[ROW][C]means[/C][C]22[/C][C]7[/C][C]21.5[/C][C]1.5[/C][C]-8.5[/C][C]-12[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157814&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157814&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

ANOVA Model
xdf2$Som ~ xdf2$Groep * xdf2$Geslacht
names(Intercept)xdf2$GroepG2xdf2$GroepG3xdf2$GeslachtMxdf2$GroepG2:xdf2$GeslachtMxdf2$GroepG3:xdf2$GeslachtM
means22721.51.5-8.5-12







ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
2
xdf2$Groep2547.17273.5826.0560.0011007
xdf2$Geslacht285.33385.3338.1270.029152
xdf2$Groep:xdf2$Geslacht276.16738.0833.6270.092772
Residuals66310.5

\begin{tabular}{lllllllll}
\hline
ANOVA Statistics \tabularnewline
  & Df & Sum Sq & Mean Sq & F value & Pr(>F) \tabularnewline
 & 2 &  &  &  &  \tabularnewline
xdf2$Groep & 2 & 547.17 & 273.58 & 26.056 & 0.0011007 \tabularnewline
xdf2$Geslacht & 2 & 85.333 & 85.333 & 8.127 & 0.029152 \tabularnewline
xdf2$Groep:xdf2$Geslacht & 2 & 76.167 & 38.083 & 3.627 & 0.092772 \tabularnewline
Residuals & 6 & 63 & 10.5 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157814&T=2

[TABLE]
[ROW][C]ANOVA Statistics[/C][/ROW]
[ROW][C] [/C][C]Df[/C][C]Sum Sq[/C][C]Mean Sq[/C][C]F value[/C][C]Pr(>F)[/C][/ROW]
[ROW][C][/C][C]2[/C][C][/C][C][/C][C][/C][C][/C][/ROW]
[ROW][C]xdf2$Groep[/C][C]2[/C][C]547.17[/C][C]273.58[/C][C]26.056[/C][C]0.0011007[/C][/ROW]
[ROW][C]xdf2$Geslacht[/C][C]2[/C][C]85.333[/C][C]85.333[/C][C]8.127[/C][C]0.029152[/C][/ROW]
[ROW][C]xdf2$Groep:xdf2$Geslacht[/C][C]2[/C][C]76.167[/C][C]38.083[/C][C]3.627[/C][C]0.092772[/C][/ROW]
[ROW][C]Residuals[/C][C]6[/C][C]63[/C][C]10.5[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157814&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157814&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

ANOVA Statistics
DfSum SqMean SqF valuePr(>F)
2
xdf2$Groep2547.17273.5826.0560.0011007
xdf2$Geslacht285.33385.3338.1270.029152
xdf2$Groep:xdf2$Geslacht276.16738.0833.6270.092772
Residuals66310.5







Tukey Honest Significant Difference Comparisons
difflwruprp adj
G2-G12.75-4.28039.78030.4953
G3-G115.58.469722.530.0012412
G3-G212.755.719719.780.0034427
M-F-5.3333-9.9111-0.755580.029152
G2:F-G1:F7-5.896219.8960.36888
G3:F-G1:F21.58.603834.3960.0043481
G1:M-G1:F1.5-11.39614.3960.99595
G2:M-G1:F3.5527e-15-12.89612.8961
G3:M-G1:F11-1.896223.8960.094321
G3:F-G2:F14.51.603827.3960.029982
G1:M-G2:F-5.5-18.3967.39620.57669
G2:M-G2:F-7-19.8965.89620.36888
G3:M-G2:F4-8.896216.8960.80797
G1:M-G3:F-20-32.896-7.10380.0063243
G2:M-G3:F-21.5-34.396-8.60380.0043481
G3:M-G3:F-10.5-23.3962.39620.11197
G2:M-G1:M-1.5-14.39611.3960.99595
G3:M-G1:M9.5-3.396222.3960.15821
G3:M-G2:M11-1.896223.8960.094321

\begin{tabular}{lllllllll}
\hline
Tukey Honest Significant Difference Comparisons \tabularnewline
  & diff & lwr & upr & p adj \tabularnewline
G2-G1 & 2.75 & -4.2803 & 9.7803 & 0.4953 \tabularnewline
G3-G1 & 15.5 & 8.4697 & 22.53 & 0.0012412 \tabularnewline
G3-G2 & 12.75 & 5.7197 & 19.78 & 0.0034427 \tabularnewline
M-F & -5.3333 & -9.9111 & -0.75558 & 0.029152 \tabularnewline
G2:F-G1:F & 7 & -5.8962 & 19.896 & 0.36888 \tabularnewline
G3:F-G1:F & 21.5 & 8.6038 & 34.396 & 0.0043481 \tabularnewline
G1:M-G1:F & 1.5 & -11.396 & 14.396 & 0.99595 \tabularnewline
G2:M-G1:F & 3.5527e-15 & -12.896 & 12.896 & 1 \tabularnewline
G3:M-G1:F & 11 & -1.8962 & 23.896 & 0.094321 \tabularnewline
G3:F-G2:F & 14.5 & 1.6038 & 27.396 & 0.029982 \tabularnewline
G1:M-G2:F & -5.5 & -18.396 & 7.3962 & 0.57669 \tabularnewline
G2:M-G2:F & -7 & -19.896 & 5.8962 & 0.36888 \tabularnewline
G3:M-G2:F & 4 & -8.8962 & 16.896 & 0.80797 \tabularnewline
G1:M-G3:F & -20 & -32.896 & -7.1038 & 0.0063243 \tabularnewline
G2:M-G3:F & -21.5 & -34.396 & -8.6038 & 0.0043481 \tabularnewline
G3:M-G3:F & -10.5 & -23.396 & 2.3962 & 0.11197 \tabularnewline
G2:M-G1:M & -1.5 & -14.396 & 11.396 & 0.99595 \tabularnewline
G3:M-G1:M & 9.5 & -3.3962 & 22.396 & 0.15821 \tabularnewline
G3:M-G2:M & 11 & -1.8962 & 23.896 & 0.094321 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157814&T=3

[TABLE]
[ROW][C]Tukey Honest Significant Difference Comparisons[/C][/ROW]
[ROW][C] [/C][C]diff[/C][C]lwr[/C][C]upr[/C][C]p adj[/C][/ROW]
[ROW][C]G2-G1[/C][C]2.75[/C][C]-4.2803[/C][C]9.7803[/C][C]0.4953[/C][/ROW]
[ROW][C]G3-G1[/C][C]15.5[/C][C]8.4697[/C][C]22.53[/C][C]0.0012412[/C][/ROW]
[ROW][C]G3-G2[/C][C]12.75[/C][C]5.7197[/C][C]19.78[/C][C]0.0034427[/C][/ROW]
[ROW][C]M-F[/C][C]-5.3333[/C][C]-9.9111[/C][C]-0.75558[/C][C]0.029152[/C][/ROW]
[ROW][C]G2:F-G1:F[/C][C]7[/C][C]-5.8962[/C][C]19.896[/C][C]0.36888[/C][/ROW]
[ROW][C]G3:F-G1:F[/C][C]21.5[/C][C]8.6038[/C][C]34.396[/C][C]0.0043481[/C][/ROW]
[ROW][C]G1:M-G1:F[/C][C]1.5[/C][C]-11.396[/C][C]14.396[/C][C]0.99595[/C][/ROW]
[ROW][C]G2:M-G1:F[/C][C]3.5527e-15[/C][C]-12.896[/C][C]12.896[/C][C]1[/C][/ROW]
[ROW][C]G3:M-G1:F[/C][C]11[/C][C]-1.8962[/C][C]23.896[/C][C]0.094321[/C][/ROW]
[ROW][C]G3:F-G2:F[/C][C]14.5[/C][C]1.6038[/C][C]27.396[/C][C]0.029982[/C][/ROW]
[ROW][C]G1:M-G2:F[/C][C]-5.5[/C][C]-18.396[/C][C]7.3962[/C][C]0.57669[/C][/ROW]
[ROW][C]G2:M-G2:F[/C][C]-7[/C][C]-19.896[/C][C]5.8962[/C][C]0.36888[/C][/ROW]
[ROW][C]G3:M-G2:F[/C][C]4[/C][C]-8.8962[/C][C]16.896[/C][C]0.80797[/C][/ROW]
[ROW][C]G1:M-G3:F[/C][C]-20[/C][C]-32.896[/C][C]-7.1038[/C][C]0.0063243[/C][/ROW]
[ROW][C]G2:M-G3:F[/C][C]-21.5[/C][C]-34.396[/C][C]-8.6038[/C][C]0.0043481[/C][/ROW]
[ROW][C]G3:M-G3:F[/C][C]-10.5[/C][C]-23.396[/C][C]2.3962[/C][C]0.11197[/C][/ROW]
[ROW][C]G2:M-G1:M[/C][C]-1.5[/C][C]-14.396[/C][C]11.396[/C][C]0.99595[/C][/ROW]
[ROW][C]G3:M-G1:M[/C][C]9.5[/C][C]-3.3962[/C][C]22.396[/C][C]0.15821[/C][/ROW]
[ROW][C]G3:M-G2:M[/C][C]11[/C][C]-1.8962[/C][C]23.896[/C][C]0.094321[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157814&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157814&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Tukey Honest Significant Difference Comparisons
difflwruprp adj
G2-G12.75-4.28039.78030.4953
G3-G115.58.469722.530.0012412
G3-G212.755.719719.780.0034427
M-F-5.3333-9.9111-0.755580.029152
G2:F-G1:F7-5.896219.8960.36888
G3:F-G1:F21.58.603834.3960.0043481
G1:M-G1:F1.5-11.39614.3960.99595
G2:M-G1:F3.5527e-15-12.89612.8961
G3:M-G1:F11-1.896223.8960.094321
G3:F-G2:F14.51.603827.3960.029982
G1:M-G2:F-5.5-18.3967.39620.57669
G2:M-G2:F-7-19.8965.89620.36888
G3:M-G2:F4-8.896216.8960.80797
G1:M-G3:F-20-32.896-7.10380.0063243
G2:M-G3:F-21.5-34.396-8.60380.0043481
G3:M-G3:F-10.5-23.3962.39620.11197
G2:M-G1:M-1.5-14.39611.3960.99595
G3:M-G1:M9.5-3.396222.3960.15821
G3:M-G2:M11-1.896223.8960.094321







Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group53.1504e+313.6268e-94
6

\begin{tabular}{lllllllll}
\hline
Levenes Test for Homogeneity of Variance \tabularnewline
  & Df & F value & Pr(>F) \tabularnewline
Group & 5 & 3.1504e+31 & 3.6268e-94 \tabularnewline
  & 6 &   &   \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157814&T=4

[TABLE]
[ROW][C]Levenes Test for Homogeneity of Variance[/C][/ROW]
[ROW][C] [/C][C]Df[/C][C]F value[/C][C]Pr(>F)[/C][/ROW]
[ROW][C]Group[/C][C]5[/C][C]3.1504e+31[/C][C]3.6268e-94[/C][/ROW]
[ROW][C] [/C][C]6[/C][C] [/C][C] [/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157814&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157814&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Levenes Test for Homogeneity of Variance
DfF valuePr(>F)
Group53.1504e+313.6268e-94
6



Parameters (Session):
par1 = 3 ; par2 = 2 ; par3 = 1 ; par4 = TRUE ;
Parameters (R input):
par1 = 3 ; par2 = 2 ; par3 = 1 ; par4 = TRUE ;
R code (references can be found in the software module):
cat1 <- as.numeric(par1) #
cat2<- as.numeric(par2) #
cat3 <- as.numeric(par3)
intercept<-as.logical(par4)
x <- t(x)
x1<-as.numeric(x[,cat1])
f1<-as.character(x[,cat2])
f2 <- as.character(x[,cat3])
xdf<-data.frame(x1,f1, f2)
(V1<-dimnames(y)[[1]][cat1])
(V2<-dimnames(y)[[1]][cat2])
(V3 <-dimnames(y)[[1]][cat3])
mynames<- c(V1, V2, V3)
xdf2<-xdf
names(xdf2)<-mynames
names(xdf)<-c('R', 'A', 'B')
mynames <- c(V1, V2, V3)
if(intercept == FALSE)eval (substitute(lmout<-lm(xdf$R ~ xdf$A * xdf$B- 1, data = xdf), list(xdf=quote(xdf2),R=mynames[1],A=mynames[2],B=mynames[3]) ))else eval(substitute(lmout<-lm(xdf$R ~ xdf$A * xdf$B, data = xdf), list(xdf=quote(xdf2),R=mynames[1],A=mynames[2],B=mynames[3]) ))
oldnames<-names(lmout$coeff)
newnames<-gsub('xdf2$', '', oldnames)
(names(lmout$coeff)<-newnames)
(names(lmout$coefficients)<-newnames)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'ANOVA Model', length(lmout$coefficients)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
callstr<-gsub('xdf2$', '',as.character(lmout$call$formula))
callstr<-paste(callstr[2], callstr[1], callstr[3])
a<-table.element(a,callstr ,length(lmout$coefficients)+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'names',,TRUE)
for(i in 1:length(lmout$coefficients)){
a<-table.element(a, names(lmout$coefficients[i]),,FALSE)
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'means',,TRUE)
for(i in 1:length(lmout$coefficients)){
a<-table.element(a, signif(lmout$coefficients[i], digits=5),,FALSE)
}
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
(aov.xdf<-aov(lmout) )
(anova.xdf<-anova(lmout) )
rownames(anova.xdf)<-gsub('xdf2$','',rownames(anova.xdf))
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'ANOVA Statistics', 5+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, ' ',,TRUE)
a<-table.element(a, 'Df',,FALSE)
a<-table.element(a, 'Sum Sq',,FALSE)
a<-table.element(a, 'Mean Sq',,FALSE)
a<-table.element(a, 'F value',,FALSE)
a<-table.element(a, 'Pr(>F)',,FALSE)
a<-table.row.end(a)
for(i in 1 : length(rownames(anova.xdf))-1){
a<-table.row.start(a)
a<-table.element(a,rownames(anova.xdf)[i] ,,TRUE)
a<-table.element(a, anova.xdf$Df[1],,FALSE)
a<-table.element(a, signif(anova.xdf$'Sum Sq'[i], digits=5),,FALSE)
a<-table.element(a, signif(anova.xdf$'Mean Sq'[i], digits=5),,FALSE)
a<-table.element(a, signif(anova.xdf$'F value'[i], digits=5),,FALSE)
a<-table.element(a, signif(anova.xdf$'Pr(>F)'[i], digits=5),,FALSE)
a<-table.row.end(a)
}
a<-table.row.start(a)
a<-table.element(a, 'Residuals',,TRUE)
a<-table.element(a, anova.xdf$'Df'[i+1],,FALSE)
a<-table.element(a, signif(anova.xdf$'Sum Sq'[i+1], digits=5),,FALSE)
a<-table.element(a, signif(anova.xdf$'Mean Sq'[i+1], digits=5),,FALSE)
a<-table.element(a, ' ',,FALSE)
a<-table.element(a, ' ',,FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
bitmap(file='anovaplot.png')
boxplot(R ~ A + B, data=xdf, xlab=V2, ylab=V1, main='Boxplots of ANOVA Groups')
dev.off()
bitmap(file='designplot.png')
xdf2 <- xdf # to preserve xdf make copy for function
names(xdf2) <- c(V1, V2, V3)
plot.design(xdf2, main='Design Plot of Group Means')
dev.off()
bitmap(file='interactionplot.png')
interaction.plot(xdf$A, xdf$B, xdf$R, xlab=V2, ylab=V1, trace.label=V3, main='Possible Interactions Between Anova Groups')
dev.off()
if(intercept==TRUE){
thsd<-TukeyHSD(aov.xdf)
names(thsd) <- c(V2, V3, paste(V2, ':', V3, sep=''))
bitmap(file='TukeyHSDPlot.png')
layout(matrix(c(0,0,1,2,1,2,0,0,3,3,3,3), 2,6))
plot(thsd, las=1)
dev.off()
}
if(intercept==TRUE){
ntables<-length(names(thsd))
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Tukey Honest Significant Difference Comparisons', 5,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, ' ', 1, TRUE)
for(i in 1:4){
a<-table.element(a,colnames(thsd[[1]])[i], 1, TRUE)
}
a<-table.row.end(a)
for(nt in 1:ntables){
for(i in 1:length(rownames(thsd[[nt]]))){
a<-table.row.start(a)
a<-table.element(a,rownames(thsd[[nt]])[i], 1, TRUE)
for(j in 1:4){
a<-table.element(a,signif(thsd[[nt]][i,j], digits=5), 1, FALSE)
}
a<-table.row.end(a)
}
} # end nt
a<-table.end(a)
table.save(a,file='hsdtable.tab')
}#end if hsd tables
if(intercept==FALSE){
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'TukeyHSD Message', 1,TRUE)
a<-table.row.end(a)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Must Include Intercept to use Tukey Test ', 1, FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')
}
library(car)
lt.lmxdf<-levene.test(lmout)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Levenes Test for Homogeneity of Variance', 4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,' ', 1, TRUE)
for (i in 1:3){
a<-table.element(a,names(lt.lmxdf)[i], 1, FALSE)
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Group', 1, TRUE)
for (i in 1:3){
a<-table.element(a,signif(lt.lmxdf[[i]][1], digits=5), 1, FALSE)
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,' ', 1, TRUE)
a<-table.element(a,lt.lmxdf[[1]][2], 1, FALSE)
a<-table.element(a,' ', 1, FALSE)
a<-table.element(a,' ', 1, FALSE)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')