| update_weightsI | R Documentation | 
Implementation of the weight update formula for I-Optimality used to optimize the weights of a design, which is to be applied iteratively until no sizable changes happen. A-Optimality if instead of the integral matrix the identity function is used.
update_weightsI(design, sens, crit, delta)
| design | Design to optimize the weights from. It's a dataframe with two columns: 
 | 
| sens | Sensibility function for the design and model. | 
| crit | Value of the criterion function for I-Optimality. | 
| delta | A parameter of the algorithm that can be tuned. Must be  | 
returns the new weights of the design after one iteration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.