This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

load("/home/arn/melon.RData")
modelo<-(aov(areafoliar ~ Aplicación*Concentracion, data=melon))
summary(aov(areafoliar ~ Aplicación*Concentracion, data=melon))
##                          Df   Sum Sq  Mean Sq F value  Pr(>F)   
## Aplicación                1 12045350 12045350   10.34 0.00479 **
## Concentracion             2  8338236  4169118    3.58 0.04910 * 
## Aplicación:Concentracion  2  7545582  3772791    3.24 0.06284 . 
## Residuals                18 20962352  1164575                   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
library(agricolae, pos=15)
HSD.test(modelo, "Concentracion", console=TRUE)
## 
## Study: modelo ~ "Concentracion"
## 
## HSD Test for areafoliar 
## 
## Mean Square Error:  1164575 
## 
## Concentracion,  means
## 
##             areafoliar       std r    Min    Max
## 1x10-3molar   5199.087 1935.5786 8 2835.9 9078.7
## 2x10-3molar   3768.312 1334.0684 8 1661.5 5411.3
## Agua          4651.275  516.8398 8 3944.5 5613.6
## 
## alpha: 0.05 ; Df Error: 18 
## Critical Value of Studentized Range: 3.609304 
## 
## Honestly Significant Difference: 1377.09 
## 
## Means with the same letter are not significantly different.
## 
## Groups, Treatments and means
## a     1x10-3molar     5199 
## ab    Agua            4651 
## b     2x10-3molar     3768
m<-HSD.test(modelo, "Concentracion",console=TRUE)
## 
## Study: modelo ~ "Concentracion"
## 
## HSD Test for areafoliar 
## 
## Mean Square Error:  1164575 
## 
## Concentracion,  means
## 
##             areafoliar       std r    Min    Max
## 1x10-3molar   5199.087 1935.5786 8 2835.9 9078.7
## 2x10-3molar   3768.312 1334.0684 8 1661.5 5411.3
## Agua          4651.275  516.8398 8 3944.5 5613.6
## 
## alpha: 0.05 ; Df Error: 18 
## Critical Value of Studentized Range: 3.609304 
## 
## Honestly Significant Difference: 1377.09 
## 
## Means with the same letter are not significantly different.
## 
## Groups, Treatments and means
## a     1x10-3molar     5199 
## ab    Agua            4651 
## b     2x10-3molar     3768
m
## $statistics
##       Mean       CV MSerror     HSD
##   4539.558 23.77224 1164575 1377.09
## 
## $parameters
##   Df ntr StudentizedRange
##   18   3         3.609304
## 
## $means
##             areafoliar       std r    Min    Max
## 1x10-3molar   5199.087 1935.5786 8 2835.9 9078.7
## 2x10-3molar   3768.312 1334.0684 8 1661.5 5411.3
## Agua          4651.275  516.8398 8 3944.5 5613.6
## 
## $comparison
## NULL
## 
## $groups
##           trt    means  M
## 1 1x10-3molar 5199.087  a
## 2 Agua        4651.275 ab
## 3 2x10-3molar 3768.312  b