tylermorganwall / skpr

Generates and evaluates D, I, A, Alias, E, T, G, and custom optimal designs. Supports generation and evaluation of mixture and split/split-split/N-split plot designs. Includes parametric and Monte Carlo power evaluation functions. Provides a framework to evaluate power using functions provided in other packages or written by the user.
https://tylermorganwall.github.io/skpr/
GNU General Public License v3.0
115 stars 15 forks source link

Cannot get the updated criteria #79

Closed Lefty2021 closed 1 year ago

Lefty2021 commented 1 year ago

Once you add some points manually on the design(for whatever reason) you cannon get the updated criteria (eg D-optimal values). In more specific in a D-optimal design I added some central points and I would like to see the effect of that addition.

tylermorganwall commented 1 year ago

Pass the design to eval_design() and then pass the power output to the get_optimality() function to obtain updated optimality values.

See https://tylermorganwall.github.io/skpr/reference/get_optimality.html