formatting {edibble} | R Documentation |
Print intermediate experimental design to terminal
Description
This function prints an edbl_graph
object as a tree to terminal.
The variables are color coded (or decorated) with the given options.
Any ANSI coloring or styling are only visible in the console or terminal
outputs that support it. The print output is best used interactively since
any text styling are lost in text or R Markdown output. More details can
be found in vignette("edbl-output", package = "edibble")
.
Usage
## S3 method for class 'edbl_design'
print(
x,
decorate_units = edibble_decorate("units"),
decorate_trts = edibble_decorate("trts"),
decorate_rcrds = edibble_decorate("rcrds"),
decorate_levels = edibble_decorate("levels"),
decorate_title = edibble_decorate("title"),
title = NULL,
...
)
Arguments
x |
An edibble graph. |
decorate_trts , decorate_units , decorate_rcrds , decorate_levels , decorate_title |
A function applied to the name of treatment, unit, response factors or design title. The function should return a string. Most often this wraps the name with ANSI colored text. |
title |
The title of the design. |
... |
Unused. |
[Package edibble version 1.1.1 Index]