Changelog
Source:NEWS.md
speed 0.0.10
Major Changes
- Added a
summary()method for"design"objects, reporting structure and replication, a decomposed optimisation score, and design-quality diagnostics. (#73) -
grid_factorsgains an optionalbyelement naming the column that separates a design into several grids, e.g.list(dim1 = "row", dim2 = "col", by = "site")for a multi-environment trial. Each grid is scored on its own.
Minor Changes
- Designs whose
row/colcolumns are not numeric, or where two plots share a coordinate, now fail with a message naming the problem.
Bug Fixes
- Design metrics are now built from each plot’s
row/colcoordinates rather than the order of the rows in the data frame. Designs generated withobjective_function_piepho()should be regenerated. - Multi-site designs are no longer scored as one pooled grid, which discarded plots whose coordinates collided and counted adjacencies between sites. Use
grid_factors$byto name the grouping column. -
objective_function_piepho()now scores evenness of distribution per grid and reports each grid separately. A grid with no treatment replicated within it contributes0rather thanInf. -
calculate_efficiency_factor()now errors for a design whose treatment contrasts are not estimable, instead of returning an impossible value above 1. The row-column model gained an intercept, which does not change results that were already valid. -
summary()no longer errors on designs that cannot be placed on a single grid; the affected diagnostics report why they are unavailable instead. -
calculate_nb()no longer errors on designs with missing plots whenpair_mappingis not supplied. -
calculate_adjacency_score()now recycles a singlering_weightsvalue across every entry ofring_dists, so the default is usable with more than one ring. -
swap_all = TRUEno longer changes the replication of a design when an earlier level has unbalanced a swap group mid-search. Only treatments with matching replication are exchanged.
speed 0.0.9
Major Changes
- Deprecated the
splitsargument ofinitialise_design_df()in favor ofinitialise_split_design_df(). Passingsplitsnow warns with the equivalent suggested call.
Bug Fixes
-
speed()now errors whenswap_all = TRUEis used on a design with unequal within-group replication, instead of silently swapping treatments with different replication counts. -
speed()no longer returns numeric/integer columns (e.g.treatment,row,col) as their internal factor level codes instead of their original values. -
speed()no longer emits a “Setting row names on a tibble is deprecated” warning when passed a tibble. -
speed()now accepts designs withvctrs-backed multi-class columns (e.g. from theedibblepackage) instead of erroring; such columns are now returned ascharacter.
speed 0.0.8
Major Changes
- Added
ring_dists,ring_weights, andring_typearguments tocalculate_adjacency_scorefor weighting matches at larger adjacent ring radii; can be passed viaspeed().
speed 0.0.7
Minor Changes
- Fixed
autoplot.designwhere'block'column was required when providing another column forblock(#88).
speed 0.0.5
Major Changes
- Added
objective_function_factorialfor factorial designs, combining main-treatment and interaction balance scores (#78).