LDuncan: Duncan test

Description Usage Arguments Author(s) Examples

Description

Duncan test to compare means.

Usage

1
LDuncan(anova, which = "", conf.level = 0.95)

Arguments

anova

A aov fitted model object.

which

A term in the fitted model for be used in the test. Defaults to all the terms.

conf.level

A numeric value between zero and one. Default is 0.95.

Author(s)

Laercio Junio da Silva laerciojunio@yahoo.com.br

Examples

1
2
3
4
5
require(laercio)
ldata$trat <- as.factor(ldata$trat)
anv <- aov(resp~trat,ldata)
anova(anv)
LDuncan(anv,"trat")

Example output

Analysis of Variance Table

Response: resp
          Df Sum Sq Mean Sq F value    Pr(>F)    
trat       4 13.356   3.339  83.475 1.217e-07 ***
Residuals 10  0.400   0.040                      
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

 DUNCAN TEST TO COMPARE MEANS 
 
 Confidence Level:  0.95 
 Dependent Variable:  resp
 Variation Coefficient:  10.30928 % 
 

 Independent Variable:  trat 
  Factors Means     
  4       3.5   a   
  3       2.4    b  
  2       1.8     c 
  1       1.1      d
  5       0.9      d

laercio documentation built on May 2, 2019, 6:13 a.m.