Canola | R Documentation |
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.
Canola
A data frame with 36 observations on the following five variables:
a factor specifying the blocks in the experiment.
a factor numbering the plots within each block.
a factor specifying the amount of nitrogen applied to each plot.
a factor specifying the amount of sulphur applied to each plot.
a numerical vector recording the yield from each plot.
VSN International (2014). Genstat for Windows 17th Edition. VSN International, Hemel Hempstead, UK. Web page: Genstat.co.uk.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.