Canola: Yields of Canola

CanolaR Documentation

Yields of Canola

Description

The Canola dataset contains data from an experiment to study the effects of nitrogen and sulphur on the yield of canola, using a randomzed-block design.

Usage

Canola

Format

A data frame with 36 observations on the following five variables:

blcok

a factor specifying the blocks in the experiment.

plot

a factor numbering the plots within each block.

N

a factor specifying the amount of nitrogen applied to each plot.

S

a factor specifying the amount of sulphur applied to each plot.

yield

a numerical vector recording the yield from each plot.

Source

VSN International (2014). Genstat for Windows 17th Edition. VSN International, Hemel Hempstead, UK. Web page: Genstat.co.uk.

www.vsni.co.uk/

Examples

# The aov code
data(Canova,package="vsnc")
moda <- aov(yield ~ N*S + Error(block),data=Canola)
summary(moda)

# The msanova code
# library(msanova)
# data(Canova,package="vsnc")
# modb <- msanova(yield ~ N*S,blockstructure =~ block,data = Canola )
# summary(modb)
# plot(modb)

# The asreml code
data(Canova,package="vsnc")
library(asreml)
modc <- asreml(yield ~ N*S, random = ~ block, data=Canola)
wald(modc)
plot(modc) 

dengfei2013/learnasreml documentation built on Oct. 25, 2024, 7 a.m.