Skip to contents

This is a convenient wrapper for dae::designAnatomy where the formulae structure is automatically determined by the unit and treatment structure specified in edibble system. Note: the computation may be long if the design is quite complicated or there are many units.

Usage

design_anatomy(.edibble, ...)

Arguments

.edibble

A complete edibble design object or edibble table.

...

Any other arguments parsed to dae::designAnatomy.

Value

An object of class "des_anatomy".

Examples

split <- takeout(menu_split(t1 = 3, t2 = 2, r = 2))
design_anatomy(split)
#> 
#> 
#> Summary table of the decomposition for unit & trt
#> 
#>  Source.unit       df1 Source.trt df2 aefficiency eefficiency order
#>  mainplot            5 trt1         2      1.0000      1.0000     1
#>                        Residual     3                              
#>  subplot[mainplot]   6 trt2         1      1.0000      1.0000     1
#>                        trt1#trt2    2      1.0000      1.0000     1
#>                        Residual     3