weight1 {OWEA} | R Documentation |
Implementation of Newton's method, Part 1.
Description
A function that optimizes weights for a given design using newton's method
Usage
weight1(opt, x, t, g_part, w0, infor_design, ...)
Arguments
opt |
Integer. |
x |
Matrix, the design at current stage. |
t |
Integer. Number of levels of treatment. |
g_part |
Matrix. Contrast matrix. Its column numbers must match the row number of information matrix. |
w0 |
Numeric Vector. Initial weights. |
infor_design |
Function. A function for calculating information matrix. |
... |
other necessary control parameters |
Value
A numeric vector of optimized weights.
[Package OWEA version 0.1.2 Index]