Skip to contents

This function doesn't really do much besides create a new edibble design object.

Usage

design(
  .title = NULL,
  ...,
  .name = "edibble",
  .record = TRUE,
  .seed = NULL,
  .provenance = Provenance$new()
)

redesign(
  .data,
  .title,
  ...,
  .name = NULL,
  .record = TRUE,
  .seed = NULL,
  .provenance = Provenance$new()
)

Arguments

.title

Optional title of the experiment.

...

A series of name-value pairs where the name corresponds to the name of the metadata nad the value corresponds to the actual metadata value. If the name is omitted, then no name to the metadata is assigned for the corresponding value.

.name

Optional name of the experiment.

.record

A logical value. This indicates whether to record this code step. The default is TRUE. It should remain TRUE unless this function is used as a wrapper in other code.

.seed

A seed number for reproducibility.

.provenance

An environment setup in a manner to store methods and information to trace the origin of the design

.data

An edibble table.

Value

An empty edbl_design object.

See also

Add variables to this design with set_units(), set_trts(), and set_rcrds().

Other user-facing functions: allot_trts(), allot_units(), expect_rcrds(), export_design(), serve_table(), set_rcrds(), set_trts(), set_units()

Examples

design("My design")
#> My design