Learn R Programming

ExpDes (version 1.2.0)

strip: Strip-plot experiments

Description

Analysis Strip-plot experiments

Usage

strip(factor1, factor2, block, resp, quali = c(TRUE, TRUE), mcomp = "tukey", 
fac.names = c("F1", "F2"), sigT = 0.05, sigF = 0.05)

Arguments

factor1

Numeric or complex vector containing the factor 1 levels.

factor2

Numeric or complex vector containing the factor 2 levels.

block

Numeric or complex vector containing the blocks.

resp

Numeric or complex vector containing the response variable.

quali

Logic. If TRUE (default), the treatments are assumed qualitative, if FALSE, quantitatives.

mcomp

Allows choosing the multiple comparison test; the default is the test of Tukey, however, the options are: the LSD test ('lsd'), the LSD test with Bonferroni protection ('lsdb'), the test of Duncan ('duncan'), the test of Student-Newman-Keuls ('snk'), the test of Scott-Knott ('sk'), the Calinski and Corsten test ('ccf') and bootstrap multiple comparison's test ('ccboot').

fac.names

Allows labeling the factors 1 and 2.

sigT

The signficance to be used for the multiple comparison test; the default is 5%.

sigF

The signficance to be used for the F test of ANOVA; the default is 5%.

See Also

rbd and split2.rbd

Examples

Run this code
# NOT RUN {
data(ex5)
attach(ex5)
strip(trat, genero, bloco, sabor, quali=c(TRUE,TRUE), mcomp="tukey", 
 fac.names=c("Amostras","Genero"), sigT = 0.05, sigF = 0.05)
# }

Run the code above in your browser using DataLab