label<\\/td> <\\/td><\\/tr><\\/table> <\\/button> <\\/button>\",\"tab_edit_node\":\"node<\\/span> id<\\/td> <\\/td><\\/tr>label<\\/td> <\\/td><\\/tr><\\/table> <\\/button> <\\/button>\"},\"highlight\":{\"enabled\":true,\"hoverNearest\":false,\"degree\":1,\"algorithm\":\"all\",\"hideColor\":\"rgba(200,200,200,0.5)\",\"labelOnly\":true},\"collapse\":{\"enabled\":true,\"fit\":false,\"resetHighlight\":true,\"clusterOptions\":null,\"keepCoord\":true,\"labelSuffix\":\"(cluster)\"},\"tooltipStay\":300,\"tooltipStyle\":\"position: fixed;visibility:hidden;padding: 5px;white-space: nowrap;font-family: verdana;font-size:14px;font-color:#000000;background-color: #f5f4ed;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;border: 1px solid #808074;box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);\"},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://edibble.emitanaka.org/reference/rescale_values.html","id":null,"dir":"Reference","previous_headings":"","what":"Rescale a numerical vector — rescale_values","title":"Rescale a numerical vector — rescale_values","text":"Similar scales::rescale() different behaviour upper lower bound given.","code":""},{"path":"https://edibble.emitanaka.org/reference/rescale_values.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Rescale a numerical vector — rescale_values","text":"","code":"rescale_values(x, lower = NA, upper = NA)"},{"path":"https://edibble.emitanaka.org/reference/rescale_values.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Rescale a numerical vector — rescale_values","text":"x numerical vector. lower lower bound. upper upper bound.","code":""},{"path":"https://edibble.emitanaka.org/reference/scan_menu.html","id":null,"dir":"Reference","previous_headings":"","what":"Find the short names of the named designs — scan_menu","title":"Find the short names of the named designs — scan_menu","text":"Find short names named designs","code":""},{"path":"https://edibble.emitanaka.org/reference/scan_menu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Find the short names of the named designs — scan_menu","text":"","code":"scan_menu(packages = NULL, exclude = NULL)"},{"path":"https://edibble.emitanaka.org/reference/scan_menu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Find the short names of the named designs — scan_menu","text":"packages character vector containing package names search named designs . default search edibble packages loaded. exclude character vector denoting packages exclude search .","code":""},{"path":"https://edibble.emitanaka.org/reference/scan_menu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Find the short names of the named designs — scan_menu","text":"data.frame package, name, arguments, full name.","code":""},{"path":"https://edibble.emitanaka.org/reference/scan_menu.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Find the short names of the named designs — scan_menu","text":"","code":"scan_menu() #> # A tibble: 10 × 4 #> package name args name_full #> #> 1 edibble bibd t, k, r, seed Balanced Incomplete Block Design #> 2 edibble crd t, n, r, seed Completely Randomised Design #> 3 edibble factorial trt, r, design, seed Factorial Design #> 4 edibble graeco t, seed Graeco-Latin Square Design #> 5 edibble hyper_graeco t, seed Hyper-Graeco-Latin Square Design #> 6 edibble lsd t, seed Latin Square Design #> 7 edibble rcbd t, r, seed Randomised Complete Block Design #> 8 edibble split t1, t2, r, seed Split-Plot Design, Split-Unit Desi… #> 9 edibble strip t1, t2, r, seed Strip-Plot Design, Strip-Unit Desi… #> 10 edibble youden nc, t, seed Youden Square Design"},{"path":"https://edibble.emitanaka.org/reference/serve_table.html","id":null,"dir":"Reference","previous_headings":"","what":"Serve edibble table — serve_table","title":"Serve edibble table — serve_table","text":"converts edibble graph object data frame called edibble. function used design final form (close final form). table can formed variables can reconciled, otherwise data frame zero rows.","code":""},{"path":"https://edibble.emitanaka.org/reference/serve_table.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Serve edibble table — serve_table","text":"","code":"serve_table( .edibble = NULL, label_nested = NULL, fail = c(\"error\", \"warn\", \"ignore\"), .record = TRUE )"},{"path":"https://edibble.emitanaka.org/reference/serve_table.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Serve edibble table — serve_table","text":".edibble edibble design (edbl_design), edibble data frame (edbl_table) object contains edibble data frame attribute design. label_nested columns show nested labels (available). Tidyselect compatible. fail failing convert graph table. .record logical value. indicates whether record code step. default TRUE. remain TRUE unless function used wrapper code.","code":""},{"path":"https://edibble.emitanaka.org/reference/serve_table.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Serve edibble table — serve_table","text":"edbl data frame columns defined vertices rows displayed vertices connected reconcile output.","code":""},{"path":[]},{"path":"https://edibble.emitanaka.org/reference/serve_table.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Serve edibble table — serve_table","text":"","code":"design(\"Completely Randomised Design\") %>% set_units(unit = 28) %>% set_trts(trt = 6) %>% allot_trts(trt ~ unit) %>% assign_trts(\"random\", seed = 521) %>% serve_table() #> # Completely Randomised Design #> # An edibble: 28 x 2 #> unit trt #> #> #> 1 unit01 trt5 #> 2 unit02 trt6 #> 3 unit03 trt1 #> 4 unit04 trt1 #> 5 unit05 trt5 #> 6 unit06 trt6 #> 7 unit07 trt2 #> 8 unit08 trt1 #> 9 unit09 trt3 #> 10 unit10 trt4 #> # ℹ 18 more rows"},{"path":"https://edibble.emitanaka.org/reference/set_attrs.html","id":null,"dir":"Reference","previous_headings":"","what":"Set the experimental context as metadata — set_attrs","title":"Set the experimental context as metadata — set_attrs","text":"structured information can encoded design object. encoding information, can make interoperable. use export_design(), information exported title sheet excel output.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_attrs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set the experimental context as metadata — set_attrs","text":"","code":"set_attrs(.edibble = design(), ...)"},{"path":"https://edibble.emitanaka.org/reference/set_attrs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set the experimental context as metadata — set_attrs","text":".edibble edibble table design. ... series name-value pairs name corresponds name metadata nad value corresponds actual metadata value. name omitted, name metadata assigned corresponding value.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_attrs.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Set the experimental context as metadata — set_attrs","text":"","code":"des <- set_attrs(design(aim = \"Testing for new flu vaccine.\", contact = \"emi.tanaka (at) anu.edu\", \"Funded by Better Experiments Institute.\") ) des$context #> $aim #> [1] \"Testing for new flu vaccine.\" #> #> $contact #> [1] \"emi.tanaka (at) anu.edu\" #>"},{"path":"https://edibble.emitanaka.org/reference/set_rcrds.html","id":null,"dir":"Reference","previous_headings":"","what":"Set records for given unit — set_rcrds","title":"Set records for given unit — set_rcrds","text":"function creates new nodes edibble graph name corresponding either intended response measured variable recorded. Avoid record names staring \".\" reserved purposes downstream.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_rcrds.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set records for given unit — set_rcrds","text":"","code":"set_rcrds( .edibble, ..., .name_repair = c(\"check_unique\", \"unique\", \"universal\", \"minimal\"), .record = TRUE ) set_rcrds_of(.edibble, ...)"},{"path":"https://edibble.emitanaka.org/reference/set_rcrds.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set records for given unit — set_rcrds","text":".edibble edibble design (edbl_design), edibble data frame (edbl_table) object contains edibble data frame attribute design. ... Name-value pair. value correspond single name unit defined set_units. name name record variable. .name_repair argument tibble::tibble(). .record logical value. indicates whether record code step. default TRUE. remain TRUE unless function used wrapper code.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_rcrds.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set records for given unit — set_rcrds","text":"edibble design.","code":""},{"path":[]},{"path":"https://edibble.emitanaka.org/reference/set_rcrds.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Set records for given unit — set_rcrds","text":"","code":"takeout(menu_crd(t = 4, n = 10)) %>% set_rcrds(y = unit) #> design(\"Completely Randomised Design\") %>% #> set_units(unit = 10) %>% #> set_trts(trt = 4) %>% #> allot_trts(trt ~ unit) %>% #> assign_trts(\"random\", seed = 14) %>% #> serve_table() #> #> # Completely Randomised Design #> # An edibble: 10 x 3 #> unit trt y #> #> #> 1 unit01 trt2 o #> 2 unit02 trt1 o #> 3 unit03 trt1 o #> 4 unit04 trt3 o #> 5 unit05 trt4 o #> 6 unit06 trt1 o #> 7 unit07 trt3 o #> 8 unit08 trt2 o #> 9 unit09 trt4 o #> 10 unit10 trt4 o takeout(menu_crd(t = 4, n = 10)) %>% set_rcrds_of(unit = \"y\") #> design(\"Completely Randomised Design\") %>% #> set_units(unit = 10) %>% #> set_trts(trt = 4) %>% #> allot_trts(trt ~ unit) %>% #> assign_trts(\"random\", seed = 877) %>% #> serve_table() #> #> # Completely Randomised Design #> # An edibble: 10 x 3 #> unit trt y #> #> #> 1 unit01 trt1 o #> 2 unit02 trt4 o #> 3 unit03 trt2 o #> 4 unit04 trt4 o #> 5 unit05 trt3 o #> 6 unit06 trt2 o #> 7 unit07 trt1 o #> 8 unit08 trt3 o #> 9 unit09 trt3 o #> 10 unit10 trt4 o"},{"path":"https://edibble.emitanaka.org/reference/set_trts.html","id":null,"dir":"Reference","previous_headings":"","what":"Set the treatment variables — set_trts","title":"Set the treatment variables — set_trts","text":"function add special class, called edbl_trt, edibble variables.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_trts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set the treatment variables — set_trts","text":"","code":"set_trts( .edibble = design(), ..., .name_repair = c(\"check_unique\", \"unique\", \"universal\", \"minimal\"), .record = TRUE )"},{"path":"https://edibble.emitanaka.org/reference/set_trts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set the treatment variables — set_trts","text":".edibble edibble design (edbl_design), edibble data frame (edbl_table) object contains edibble data frame attribute design. ... Either name-value pair series names. .name_repair argument tibble::tibble(). .record logical value. indicates whether record code step. default TRUE. remain TRUE unless function used wrapper code.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_trts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set the treatment variables — set_trts","text":"edibble design.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_trts.html","id":"definition-of-treatment","dir":"Reference","previous_headings":"","what":"Definition of treatment","title":"Set the treatment variables — set_trts","text":"word treatment sometimes used refer one variables. one treatment variables unfortunately confuses whether treatment refers variable combination treatment variables. Treatment whole description applied experiment.","code":""},{"path":[]},{"path":"https://edibble.emitanaka.org/reference/set_trts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Set the treatment variables — set_trts","text":"","code":"design() %>% set_trts(pesticide = c(\"A\", \"B\", \"C\"), dosage = c(0, 10, 20, 30, 40)) #> An edibble design #> ├─pesticide (3 levels) #> └─dosage (5 levels)"},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":null,"dir":"Reference","previous_headings":"","what":"Set units used in experiment — set_units","title":"Set units used in experiment — set_units","text":"function sets new edibble variables class edbl_unit. specifically, means new nodes added edbl_graph.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set units used in experiment — set_units","text":"","code":"set_units( .edibble = design(), ..., .name_repair = c(\"check_unique\", \"unique\", \"universal\", \"minimal\"), .record = TRUE )"},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set units used in experiment — set_units","text":".edibble edibble design (edbl_design), edibble data frame (edbl_table) object contains edibble data frame attribute design. ... Either name-value pair series names. .name_repair argument tibble::tibble(). .record logical value. indicates whether record code step. default TRUE. remain TRUE unless function used wrapper code.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set units used in experiment — set_units","text":"edibble design.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":"definition-of-unit","dir":"Reference","previous_headings":"","what":"Definition of unit","title":"Set units used in experiment — set_units","text":"unit, much like factor, -used word due lack better word, edibble uses word \"unit\" refer entity, physical otherwise, pertain experiment. function doen't explicitly distinguish experimental observational units, unit limited type units. unit edibble can blocking factor even discrete time unit.","code":""},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":"limitations","dir":"Reference","previous_headings":"","what":"Limitations","title":"Set units used in experiment — set_units","text":"Currently unit discrete set levels need know number levels prior setting units.","code":""},{"path":[]},{"path":"https://edibble.emitanaka.org/reference/set_units.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Set units used in experiment — set_units","text":"","code":"# 30 rats design() %>% set_units(rat = 30) %>% serve_table() #> # An edibble: 30 x 1 #> rat #> #> #> 1 rat01 #> 2 rat02 #> 3 rat03 #> 4 rat04 #> 5 rat05 #> 6 rat06 #> 7 rat07 #> 8 rat08 #> 9 rat09 #> 10 rat10 #> # ℹ 20 more rows # 4 girls named \"Anna\", \"Betty\", \"Carol\", \"Diana\" design() %>% set_units(girl = c(\"Anna\", \"Betty\", \"Carol\", \"Diana\")) %>% serve_table() #> # An edibble: 4 x 1 #> girl #> #> #> 1 Anna #> 2 Betty #> 3 Carol #> 4 Diana # 3 companies, with 10 boxes each design() %>% set_units(company = c(\"A\", \"B\", \"C\"), box = nested_in(company, 10)) #> An edibble design #> └─company (3 levels) #> └─box (30 levels) # 2 classes, one with 10 students, the other with 20 students design() %>% set_units(class = 2, student = nested_in(class, 1 ~ 10, 2 ~ 20)) #> An edibble design #> └─class (2 levels) #> └─student (30 levels) # 4 countries with 10 people from Australia & New Zealand and 20 from the rest design() %>% set_units(country = c(\"AU\", \"NZ\", \"USA\", \"JPN\"), person = nested_in(country, c(\"AU\", \"NZ\") ~ 10, . ~ 20)) %>% serve_table() #> # An edibble: 60 x 2 #> country person #> #> #> 1 AU person01 #> 2 AU person02 #> 3 AU person03 #> 4 AU person04 #> 5 AU person05 #> 6 AU person06 #> 7 AU person07 #> 8 AU person08 #> 9 AU person09 #> 10 AU person10 #> # ℹ 50 more rows"},{"path":"https://edibble.emitanaka.org/reference/simulate_process.html","id":null,"dir":"Reference","previous_headings":"","what":"Simulation process — simulate_process","title":"Simulation process — simulate_process","text":"function create store functions simulate records.","code":""},{"path":"https://edibble.emitanaka.org/reference/simulate_process.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Simulation process — simulate_process","text":"","code":"simulate_process(.data, ...)"},{"path":"https://edibble.emitanaka.org/reference/simulate_process.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Simulation process — simulate_process","text":".data edibble table. ... name-value pair name correspond either record name simulating process name return object data frame columns corresponding name records. value must function set default arguments. return object function either vector data frame column names corresponding record names. size correspond number columns.","code":""},{"path":"https://edibble.emitanaka.org/reference/simulate_process.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Simulation process — simulate_process","text":"creating function, internally can refer factors without referring actual data. data referred expected full data. Like tidyverse, syntax .data reserved full data .env can used refer environment variables. can use syntax n() refer nrow(.data) n(fct) fct corresponds unquoted factor name. return value number observed number levels factor fct data. n(fct1, fct2) return observed number distinct interaction levels fct1 fct2. Note can actually put many process like use process name (starting dot), even record factor.","code":""},{"path":"https://edibble.emitanaka.org/reference/simulate_rcrds.html","id":null,"dir":"Reference","previous_headings":"","what":"Simulate records — simulate_rcrds","title":"Simulate records — simulate_rcrds","text":"Simulate records","code":""},{"path":"https://edibble.emitanaka.org/reference/simulate_rcrds.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Simulate records — simulate_rcrds","text":"","code":"simulate_rcrds(.data, ..., .seed = NULL)"},{"path":"https://edibble.emitanaka.org/reference/simulate_rcrds.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Simulate records — simulate_rcrds","text":".data edibble data ... name-value pair name correspond names used simulate_process(). value returned calling with_params(). .seed optional seed value.","code":""},{"path":"https://edibble.emitanaka.org/reference/skittles.html","id":null,"dir":"Reference","previous_headings":"","what":"Skittles experiment — skittles","title":"Skittles experiment — skittles","text":"contains data skittle experiment conducted Nick Tierney. goal experiment assess people can discern flavour skittle (indicated color skittle) based taste alone. participants blindfolded. experiment 3 participants participant tasting 10 skittles, 2 5 color, random order. skittle_type type skittle. Coincides real_skittle. person participant. order order skittle tasted. choice participant's choice. real_skittle actual skittle color.","code":""},{"path":"https://edibble.emitanaka.org/reference/skittles.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Skittles experiment — skittles","text":"","code":"skittles"},{"path":"https://edibble.emitanaka.org/reference/skittles.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Skittles experiment — skittles","text":"object class spec_tbl_df (inherits tbl_df, tbl, data.frame) 30 rows 6 columns.","code":""},{"path":"https://edibble.emitanaka.org/reference/skittles.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Skittles experiment — skittles","text":"https://github.com/njtierney/skittles","code":""},{"path":[]},{"path":"https://edibble.emitanaka.org/reference/split_by.html","id":null,"dir":"Reference","previous_headings":"","what":"Split or count the data according to certain factors — split_by","title":"Split or count the data according to certain factors — split_by","text":"function similar result split() returns named list names corresponding levels separating factor (concatenated strings multiple separating factors). key differences split(), splitting factor appear elements list linked factors ancestors appear output, e.g. treatment applied wholeplot subplots nested within subplots, subplot shown output split treatment.","code":""},{"path":"https://edibble.emitanaka.org/reference/split_by.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Split or count the data according to certain factors — split_by","text":"","code":"split_by(.data, ..., .sep = \":\", .remove_empty = TRUE) count_by(.data, ..., .remove_empty = TRUE)"},{"path":"https://edibble.emitanaka.org/reference/split_by.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Split or count the data according to certain factors — split_by","text":".data edibble table. ... factors split count . split record factor factor uniquely indexes smallest unit design. also combine treatment unit factors together. .sep separator use one factor split . .remove_empty Remove empty combinations. Default TRUE.","code":""},{"path":"https://edibble.emitanaka.org/reference/split_by.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Split or count the data according to certain factors — split_by","text":"named list.","code":""},{"path":[]},{"path":"https://edibble.emitanaka.org/reference/split_by.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Split or count the data according to certain factors — split_by","text":"","code":"spd <- takeout(menu_split()) split(spd, spd$trt1) #> $trt11 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot10 subplot046 trt11 trt21 #> 2 mainplot10 subplot047 trt11 trt22 #> 3 mainplot10 subplot048 trt11 trt24 #> 4 mainplot10 subplot049 trt11 trt25 #> 5 mainplot10 subplot050 trt11 trt23 #> 6 mainplot13 subplot061 trt11 trt22 #> 7 mainplot13 subplot062 trt11 trt25 #> 8 mainplot13 subplot063 trt11 trt23 #> 9 mainplot13 subplot064 trt11 trt21 #> 10 mainplot13 subplot065 trt11 trt24 #> # ℹ 40 more rows #> #> $trt12 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot02 subplot006 trt12 trt22 #> 2 mainplot02 subplot007 trt12 trt24 #> 3 mainplot02 subplot008 trt12 trt21 #> 4 mainplot02 subplot009 trt12 trt23 #> 5 mainplot02 subplot010 trt12 trt25 #> 6 mainplot04 subplot016 trt12 trt22 #> 7 mainplot04 subplot017 trt12 trt23 #> 8 mainplot04 subplot018 trt12 trt24 #> 9 mainplot04 subplot019 trt12 trt25 #> 10 mainplot04 subplot020 trt12 trt21 #> # ℹ 40 more rows #> #> $trt13 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot14 subplot066 trt13 trt24 #> 2 mainplot14 subplot067 trt13 trt22 #> 3 mainplot14 subplot068 trt13 trt23 #> 4 mainplot14 subplot069 trt13 trt21 #> 5 mainplot14 subplot070 trt13 trt25 #> 6 mainplot40 subplot196 trt13 trt22 #> 7 mainplot40 subplot197 trt13 trt23 #> 8 mainplot40 subplot198 trt13 trt25 #> 9 mainplot40 subplot199 trt13 trt21 #> 10 mainplot40 subplot200 trt13 trt24 #> # ℹ 40 more rows #> #> $trt14 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot06 subplot026 trt14 trt22 #> 2 mainplot06 subplot027 trt14 trt25 #> 3 mainplot06 subplot028 trt14 trt24 #> 4 mainplot06 subplot029 trt14 trt21 #> 5 mainplot06 subplot030 trt14 trt23 #> 6 mainplot09 subplot041 trt14 trt25 #> 7 mainplot09 subplot042 trt14 trt23 #> 8 mainplot09 subplot043 trt14 trt21 #> 9 mainplot09 subplot044 trt14 trt22 #> 10 mainplot09 subplot045 trt14 trt24 #> # ℹ 40 more rows #> #> $trt15 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot01 subplot001 trt15 trt24 #> 2 mainplot01 subplot002 trt15 trt22 #> 3 mainplot01 subplot003 trt15 trt25 #> 4 mainplot01 subplot004 trt15 trt21 #> 5 mainplot01 subplot005 trt15 trt23 #> 6 mainplot18 subplot086 trt15 trt24 #> 7 mainplot18 subplot087 trt15 trt21 #> 8 mainplot18 subplot088 trt15 trt22 #> 9 mainplot18 subplot089 trt15 trt25 #> 10 mainplot18 subplot090 trt15 trt23 #> # ℹ 40 more rows #> #> $trt16 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot15 subplot071 trt16 trt25 #> 2 mainplot15 subplot072 trt16 trt21 #> 3 mainplot15 subplot073 trt16 trt24 #> 4 mainplot15 subplot074 trt16 trt23 #> 5 mainplot15 subplot075 trt16 trt22 #> 6 mainplot16 subplot076 trt16 trt25 #> 7 mainplot16 subplot077 trt16 trt22 #> 8 mainplot16 subplot078 trt16 trt21 #> 9 mainplot16 subplot079 trt16 trt23 #> 10 mainplot16 subplot080 trt16 trt24 #> # ℹ 40 more rows #> #> $trt17 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot17 subplot081 trt17 trt25 #> 2 mainplot17 subplot082 trt17 trt22 #> 3 mainplot17 subplot083 trt17 trt23 #> 4 mainplot17 subplot084 trt17 trt24 #> 5 mainplot17 subplot085 trt17 trt21 #> 6 mainplot36 subplot176 trt17 trt25 #> 7 mainplot36 subplot177 trt17 trt22 #> 8 mainplot36 subplot178 trt17 trt24 #> 9 mainplot36 subplot179 trt17 trt21 #> 10 mainplot36 subplot180 trt17 trt23 #> # ℹ 40 more rows #> #> $trt18 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot07 subplot031 trt18 trt21 #> 2 mainplot07 subplot032 trt18 trt23 #> 3 mainplot07 subplot033 trt18 trt22 #> 4 mainplot07 subplot034 trt18 trt24 #> 5 mainplot07 subplot035 trt18 trt25 #> 6 mainplot11 subplot051 trt18 trt22 #> 7 mainplot11 subplot052 trt18 trt25 #> 8 mainplot11 subplot053 trt18 trt21 #> 9 mainplot11 subplot054 trt18 trt23 #> 10 mainplot11 subplot055 trt18 trt24 #> # ℹ 40 more rows #> #> $trt19 #> design(\"Split-Plot Design | Split-Unit Design\") %>% #> set_units(mainplot = 90, #> subplot = nested_in(mainplot, 5)) %>% #> set_trts(trt1 = 9, #> trt2 = 5) %>% #> allot_trts(trt1 ~ mainplot, #> trt2 ~ subplot) %>% #> assign_trts(\"random\", seed = 546) %>% #> serve_table() #> #> # Split-Plot Design | Split-Unit Design #> # An edibble: 50 x 4 #> mainplot subplot trt1 trt2 #> #> #> 1 mainplot03 subplot011 trt19 trt22 #> 2 mainplot03 subplot012 trt19 trt24 #> 3 mainplot03 subplot013 trt19 trt23 #> 4 mainplot03 subplot014 trt19 trt21 #> 5 mainplot03 subplot015 trt19 trt25 #> 6 mainplot08 subplot036 trt19 trt24 #> 7 mainplot08 subplot037 trt19 trt21 #> 8 mainplot08 subplot038 trt19 trt25 #> 9 mainplot08 subplot039 trt19 trt23 #> 10 mainplot08 subplot040 trt19 trt22 #> # ℹ 40 more rows #> spd %>% split_by(trt1) #> $trt11 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot10 #> 2 mainplot13 #> 3 mainplot38 #> 4 mainplot43 #> 5 mainplot50 #> 6 mainplot70 #> 7 mainplot79 #> 8 mainplot81 #> 9 mainplot88 #> 10 mainplot90 #> #> $trt12 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot02 #> 2 mainplot04 #> 3 mainplot05 #> 4 mainplot22 #> 5 mainplot32 #> 6 mainplot42 #> 7 mainplot65 #> 8 mainplot73 #> 9 mainplot74 #> 10 mainplot77 #> #> $trt13 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot14 #> 2 mainplot40 #> 3 mainplot46 #> 4 mainplot54 #> 5 mainplot56 #> 6 mainplot57 #> 7 mainplot58 #> 8 mainplot63 #> 9 mainplot64 #> 10 mainplot76 #> #> $trt14 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot06 #> 2 mainplot09 #> 3 mainplot20 #> 4 mainplot24 #> 5 mainplot27 #> 6 mainplot31 #> 7 mainplot51 #> 8 mainplot61 #> 9 mainplot72 #> 10 mainplot86 #> #> $trt15 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot01 #> 2 mainplot18 #> 3 mainplot19 #> 4 mainplot26 #> 5 mainplot34 #> 6 mainplot47 #> 7 mainplot48 #> 8 mainplot66 #> 9 mainplot71 #> 10 mainplot83 #> #> $trt16 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot15 #> 2 mainplot16 #> 3 mainplot30 #> 4 mainplot41 #> 5 mainplot45 #> 6 mainplot59 #> 7 mainplot60 #> 8 mainplot62 #> 9 mainplot80 #> 10 mainplot89 #> #> $trt17 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot17 #> 2 mainplot36 #> 3 mainplot37 #> 4 mainplot52 #> 5 mainplot53 #> 6 mainplot67 #> 7 mainplot68 #> 8 mainplot75 #> 9 mainplot78 #> 10 mainplot85 #> #> $trt18 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot07 #> 2 mainplot11 #> 3 mainplot21 #> 4 mainplot23 #> 5 mainplot29 #> 6 mainplot39 #> 7 mainplot55 #> 8 mainplot69 #> 9 mainplot84 #> 10 mainplot87 #> #> $trt19 #> # A tibble: 10 × 1 #> mainplot #> #> 1 mainplot03 #> 2 mainplot08 #> 3 mainplot12 #> 4 mainplot25 #> 5 mainplot28 #> 6 mainplot33 #> 7 mainplot35 #> 8 mainplot44 #> 9 mainplot49 #> 10 mainplot82 #> spd %>% split_by(trt2) #> $trt21 #> # A tibble: 90 × 2 #> subplot mainplot #> #> 1 subplot004 mainplot01 #> 2 subplot008 mainplot02 #> 3 subplot014 mainplot03 #> 4 subplot020 mainplot04 #> 5 subplot022 mainplot05 #> 6 subplot029 mainplot06 #> 7 subplot031 mainplot07 #> 8 subplot037 mainplot08 #> 9 subplot043 mainplot09 #> 10 subplot046 mainplot10 #> # ℹ 80 more rows #> #> $trt22 #> # A tibble: 90 × 2 #> subplot mainplot #>