#================================================================
# Completely randomized design
#================================================================
data("pomegranate")
with(pomegranate, transf(WL,f1=trat))
#================================================================
# Randomized block design
#================================================================
data(soybean)
with(soybean, transf(prod, f1=cult, block=bloc))
#================================================================
# Completely randomized design in double factorial
#================================================================
data(cloro)
with(cloro, transf(resp, f1=f1, f2=f2))
#================================================================
# Randomized block design in double factorial
#================================================================
data(cloro)
with(cloro, transf(resp, f1=f1, f2=f2, block=bloco))
Run the code above in your browser using DataLab