ComenzarEmpieza gratis

Drawing Latin Squares with agricolae

We return, once again, to the agricolae package to examine what a Latin Square design can look like. Here's an example:

     [,1] [,2] [,3] [,4]
[1,] "B"  "D"  "A"  "C" 
[2,] "A"  "C"  "D"  "B" 
[3,] "D"  "B"  "C"  "A" 
[4,] "C"  "A"  "B"  "D"

Since a Latin Square experiment has two blocking factors, you can see that in this design, each treatment appears once in both each row (blocking factor 1) and each column (blocking factor 2).

Look at the help page for design.lsd() by typing ?design.lsd in the console for any help you need designing your Latin Square experiment.

Este ejercicio forma parte del curso

Experimental Design in R

Ver curso

Instrucciones del ejercicio

  • Load the agricolae package.
  • Create and view the sketch of a Latin Square design, my_design_lsd, using treatments A, B, C, D, & E, and a seed of 42.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Load agricolae
___

# Design a LS with 5 treatments A:E then look at the sketch
___
___
Editar y ejecutar código