design_efficiency | R Documentation |
Takes an optimal design provided from the function opt_des
and a user given design and compares their
efficiency
design_efficiency(opt_des_obj, design)
opt_des_obj |
an object given by the function |
design |
dataframe that represents the design. Must have two columns:
|
The efficiency as a value between 0 and 1
opt_des
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.