knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )

The aim for deggust R-package is to visualise designs constructed from the edibble R-package. The visualisation are ggplot graphics.
(WIP)
The development version from GitHub with:
# install.packages("devtools") devtools::install_github("emitanaka/deggust")
You can see deggust::autoplot() used in various edibble designs at https://emitanaka.org/edibble-book/cookbook.html. Some samples are below.
library(edibble) library(deggust)
fac <- takeout(menu_factorial(trt = c(3, 2))) fac
autoplot(fac)
hyper_graeco <- takeout(menu_hyper_graeco(t = 6)) hyper_graeco
autoplot(hyper_graeco)
Automatic look into the design layout:
unit1 <- start_design(name = "One unit") %>% set_trts(trt = 4) %>% set_units(unit = 16) %>% allocate_trts(trt ~ unit) %>% randomise_trts() %>% serve_table() autoplot(unit1)
Easy to replace the unit shape:
autoplot(unit1, shape = "box")
autoplot(unit1, shape = "triangle")
autoplot(unit1, shape = "hexagon", text = element_text(size = 6, color = "gray", face = "bold"))
desplot for visualising designsExploreModelMatrix for exploring design matrix ez for easy analysis and visualization of factorial experimentsAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.