Package: edibble 1.1.1

edibble: Encapsulating Elements of Experimental Design

A system to facilitate designing comparative (and non-comparative) experiments using the grammar of experimental designs <https://emitanaka.org/edibble-book/>. An experimental design is treated as an intermediate, mutable object that is built progressively by fundamental experimental components like units, treatments, and their relation. The system aids in experimental planning, management and workflow.

Authors:Emi Tanaka [aut, cre, cph]

edibble_1.1.1.tar.gz
edibble_1.1.1.zip(r-4.5)edibble_1.1.1.zip(r-4.4)edibble_1.1.1.zip(r-4.3)
edibble_1.1.1.tgz(r-4.4-any)edibble_1.1.1.tgz(r-4.3-any)
edibble_1.1.1.tar.gz(r-4.5-noble)edibble_1.1.1.tar.gz(r-4.4-noble)
edibble_1.1.1.tgz(r-4.4-emscripten)edibble_1.1.1.tgz(r-4.3-emscripten)
edibble.pdf |edibble.html
edibble/json (API)
NEWS

# Install 'edibble' in R:
install.packages('edibble', repos = c('https://emitanaka.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/emitanaka/edibble/issues

Datasets:

On CRAN:

experimental-designs

7.60 score 216 stars 62 scripts 673 downloads 99 exports 73 dependencies

Last updated 2 days agofrom:ad42ee0dd9. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winOKNov 20 2024
R-4.5-linuxOKNov 20 2024
R-4.4-winOKNov 20 2024
R-4.4-macOKNov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:%>%activate_provenanceallot_tableallot_trtsallot_unitsas_edibbleassign_trtsassign_unitsautofill_rcrdscolumnconditioned_oncount_bycrossed_bydesigndesign_anatomydesign_modeledbl_designedbl_tableexamine_processexamine_process_valuesexamine_recipeexpect_rcrdsexport_designfctfct_attrsfct_edgesfct_generatorfct_graphfct_nodesgraph_inputindex_levelsis_cross_levelsis_edibbleis_edibble_designis_edibble_graphis_edibble_levelsis_edibble_tableis_fctis_named_designis_nest_levelsis_provenanceis_rcrdis_takeoutis_trtis_unitlabel_distinctlabel_nestedlabel_seq_from_lengthlabel_seq_from_tolabel_seq_lengthlabel_seq_to_lengthlatin_arraylatin_rectanglelatin_squarelvl_edgeslvl_nodeslvlsmenu_bibdmenu_crdmenu_factorialmenu_graecomenu_hyper_graecomenu_lsdmenu_rcbdmenu_splitmenu_stripmenu_youdennested_innesting_structurenew_edibbleorder_trtspivot_trts_widelistpivot_trts_widetableplot_fct_graphplot_lvl_graphProvenanceredesignrescale_valuesscan_menuserve_tableset_attrsset_rcrdsset_rcrds_ofset_trtsset_unitssimulate_processsimulate_rcrdssplit_bytakeoutto_be_characterto_be_dateto_be_factorto_be_integerto_be_numericto_be_timetrts_tablewith_paramswith_valuewith_variables

Dependencies:abindAlgDesignbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11daeDerivdoBydplyrfansifarverFormulagenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnestrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpolynompurrrquantregR6RColorBrewerRcppRcppEigenrlangrstatixscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttryCatchLogutf8vctrsviridisLitewithr

Defining structure

Rendered fromdefining-structure.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2023-11-19
Started: 2023-11-19

Readme and manuals

Help Manual

Help pageTopics
edibble: Encapsulating Elements of Experimental Designedibble-package edibble
Activate the provenance in the edibble design objectactivate_provenance
Allot treatments to units and serve tableallot_table
Define allotment of treatments to unitsallot_trts
Define allotment of units to nested unitsallot_units
Convert an edibble data frame to normal data frameas_tibble.edbl_table
Convert edibble table to normal data frameas.data.frame.edbl_table
Assign treatments or units to unitsassign_fcts assign_trts assign_units
Autofill the recordsautofill_rcrds
Select a column.column
Specify the units to cross to index a new unitcrossed_by
Start the edibble designdesign redesign
Anatomy of the designdesign_anatomy
Get the node or edge data from an edibble designdesign_data fct_edges fct_nodes lvl_edges lvl_nodes
A baseline model for given experimental designdesign_model
Test and get edibble objectsdesign-helpers edbl_design edbl_table is_cross_levels is_edibble is_edibble_design is_edibble_graph is_edibble_levels is_edibble_table is_named_design is_nest_levels
Examine the simulation processexamine_process examine_process_values
Check the recipe codeexamine_recipe
Set the expected values for recording variablesexpect_rcrds
Expected type of data entryexpect-vars to_be_character to_be_date to_be_factor to_be_integer to_be_numeric to_be_time
Export the design to xlsxexport_design
Setting the traits of factorsfct fct_attrs
Factor name generatorfct_generator
Factor graphfct_graph
Print intermediate experimental design to terminalformatting print.edbl_design
A function to process input as input for graph manipulationgraph_input
Check if an object is an instance of the "Provenance" class.is_provenance
A function to check if the output is a takeout designis_takeout
Label with nested or distinct labelsindex_levels label_distinct label_nested
Generate a sequence of labels with custom formatting optionslabel_seq label_seq_from_length label_seq_from_to label_seq_length label_seq_to_length
Lady tasting tealady_tasting_tea
Latin square designs and its generalisations as an arraylatin latin_array latin_rectangle latin_square
Setting the traits of the levelslvls
Balance incomplete block designmenu_bibd
Completely randomised designmenu_crd
Prepare a factorial designmenu_factorial
Graeco-Latin Square Designmenu_graeco
Hyper-Graeco-Latin Square Designmenu_hyper_graeco
Prepare classical Latin square designmenu_lsd
Prepare a randomised complete block designmenu_rcbd
Split-unit designmenu_split
Strip-unit designmenu_strip
Youden square designmenu_youden
Specify the nesting or conditional structure for units or treatmentsconditioned_on nested_in
Get the nesting structure for the unitsnesting_structure
An edibble table constructoras_edibble new_edibble
A custom ordering algorithmorder_trts
Interactive plot of the edibble designplot.edbl_design plot.edbl_table plot_fct_graph plot_lvl_graph
An object to query, record and modify an edibble graphProvenance
Rescale a numerical vectorrescale_values
Find the short names of the named designsscan_menu
Serve edibble tableserve_table
Set the experimental context as metadataset_attrs
Set records for given unitset_rcrds set_rcrds_of
Set the treatment variablesset_trts
Set units used in experimentset_units
Simulation processsimulate_process
Simulate recordssimulate_rcrds
Skittles experimentskittles
Split or count the data according to certain factorscount_by split_by
Create a named experimental designtakeout
Treatments tabletrts_table
Utility functions for edibble variableas.character.edbl_fct as.integer.edbl_fct is_fct is_rcrd is_trt is_unit utility-edibble-var
This is a helper function to set the parameter valueswith_params
Validation valueswith_value
A helper function to set variables that the record is dependent on.with_variables