Constructing an experiment

These are the main functions used to set experiments from scratch.

start_design()

Start the edibble design

set_units()

Set units used in experiment

set_trts()

Set the treatment variables

allocate_trts()

Define the possible allocation of treatments to units

randomise_trts()

Randomise treatments

serve_table()

Serve edibble table

Exporting the experimental design

These help to create data validation rules and export the experimental layout as xlsx file.

set_rcrds()

Set records for given unit

expect_rcrds()

Set the expected values for recording variables

to_be_numeric() to_be_integer() to_be_date() to_be_time() to_be_character() to_be_factor()

Expected type of data entry

with_value()

Validation values

Experiment from existing data

These are functions relevant when making an experiment from existing data

edibble() as_edibble()

Make input edibble

restart_design()

Restart the edibble design

Adding context

These are functions to add notes and context about the experiment

set_context() sort_context() suppress_context() express_context()

Describe context related to experiment

Plot and print

These functions plot or print intermediate constructs of the design.

iplot()

Interactive plot of the graph of an edibble design

plot(<EdibbleDesign>) plot(<edbl_graph>) plot(<edbl_table>)

Plot graph of an edibble design

print(<edbl_graph>)

Print edibble graph to terminal

Experiments

These are some example experiments.

lady_tasting_tea

Lady tasting tea

skittles

Skittles experiment

rye_grass

Rye-grass experiment