lsd {doebioresearch}R Documentation

Analysis of Latin Square Design

Description

The function gives ANOVA, R-square of the model, normality testing of residuals, SEm (standard error of mean), SEd (standard error of difference), interpretation of ANOVA results and multiple comparison test for means.

Usage

lsd(data, treatmentvector, row, column, MultipleComparisonTest)

Arguments

data

dependent variables

treatmentvector

vector containing treatments

row

vector for rows

column

vector for columns

MultipleComparisonTest

0 for no test, 1 for LSD test, 2 for Duncan test and 3 for HSD test

Value

ANOVA, interpretation of ANOVA, R-square, normality test result, SEm, SEd and multiple comparison test result

Examples

data(lsddata)
#LSD analysis with LSD test for Yield only
lsd(lsddata[4],lsddata$Treatment,lsddata$Row,lsddata$Column,1)
#LSD analysis with LSD test for Yield and Plant Height
lsd(lsddata[4:5],lsddata$Treatment,lsddata$Row,lsddata$Column,1)

[Package doebioresearch version 0.1.0 Index]