diff --git a/chapters/split-split-plot.qmd b/chapters/split-split-plot.qmd index 65d8515..5a5cf94 100644 --- a/chapters/split-split-plot.qmd +++ b/chapters/split-split-plot.qmd @@ -48,15 +48,13 @@ library(broom.mixed); library(performance) In this example, we have a rice yield data from the [agricolae](https://CRAN.R-project.org/package=agricolae) package. The experiment consists of 3 different rice varieties grown under 3 management practices and 5 Nitrogen levels in the split-split plot design. -```{r} +```{r, echo=FALSE, eval=FALSE} library(agricolae) f <- system.file("external/ssp.csv", package="agricolae") rice <- read.csv(f) ``` -```{r, echo=FALSE, eval=FALSE} -library(agricolae) -dat <- rice +```{r} data <- agricolae::rice_ssp.csv rice <- read.csv(here::here("data", "rice_ssp.csv")) ```