update_weights {optedr} | R Documentation |
Update weight D-Optimality
Description
Implementation of the weight update formula for D-Optimality used to optimize the weights of a design, which is to be applied iteratively until no sizable changes happen.
Usage
update_weights(design, sens, k, delta)
Arguments
design |
Design to optimize the weights from. It's a dataframe with two columns:
|
sens |
Sensibility function for the design and model. |
k |
Number of parameters of the model. |
delta |
A parameter of the algorithm that can be tuned. Must be |
Value
returns the new weights of the design after one iteration.
[Package optedr version 2.0.0 Index]