design_efficiency {optedr} | R Documentation |
Efficiency between optimal design and a user given design
Description
Takes an optimal design provided from the function opt_des
and a user given design and compares their
efficiency
Usage
design_efficiency(opt_des_obj, design)
Arguments
opt_des_obj |
an object given by the function |
design |
dataframe that represents the design. Must have two columns:
|
Value
The efficiency as a value between 0 and 1
See Also
opt_des
Examples
result <- opt_des("D-Optimality", y ~ a * exp(-b / x), c("a", "b"), c(1, 1500), c(212, 422))
design <- data.frame("Point" = c(220, 240, 400), "Weight" = c(1 / 3, 1 / 3, 1 / 3))
design_efficiency(result, design)
[Package optedr version 2.0.0 Index]