Canola: Yields of Canola

Description Usage Format Source Examples

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

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# 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) 

VSNC/vsnc documentation built on May 28, 2019, 3:20 p.m.

Related to Canola in VSNC/vsnc...