aov.ispd {ispd} | R Documentation |
Analysis of variance of data from an incomplete split-plot design
Description
This function performs analysis of variance of data from experiments using an incomplete split-plot design for three types of situations namely (i) blocks are complete with respect to main plot treatments and mainplots are incomplete with respect to subplot treatments, (ii) blocks are incomplete with respect to main plot treatments and mainplots are complete with respect to subplot treatments and (iii) blocks are incomplete with respect to main plot treatments and mainplots are also incomplete with respect to subplot treatments.
Usage
aov.ispd(obs, block, mp, sp, y, incomplete.block = FALSE, incomplete.mp = TRUE)
Arguments
obs |
observation numbers |
block |
block |
mp |
main plot treatment |
sp |
subplot treatment |
y |
response variable |
incomplete.block |
Are blocks incomplete? Default is FALSE |
incomplete.mp |
Are main plots incomplete? Default is TRUE |
Value
Returns ANOVA table of incomplete split-plot design
Author(s)
Baidya Nath Mandal <mandal.stat@gmail.com>
Examples
data(cmis)
with(cmis, aov.ispd(obs, block, mp, sp, y, incomplete.block = FALSE, incomplete.mp = TRUE))
data(imcs)
with(imcs, aov.ispd(obs, block, mp, sp, y, incomplete.block = TRUE, incomplete.mp = FALSE))
data(imis)
with(imis, aov.ispd(obs, block, mp, sp, y, incomplete.block = TRUE, incomplete.mp = TRUE))