Description Usage Arguments Value
View source: R/lopt linear.R View source: R/lopt_linear.R
Allocate treatment using a coordinate exchange algorithm with an optimality criterion for linear combinations of parameters. Contrasts are assumed to be differences in treatment effect for each subgroup.
1 | coord.cr(covar, k, cr, cr.lossfunc, prior.scale = 100)
|
covar |
dataframe of covarite values |
k |
integer for the number of "outer loop" |
cr |
matrix of contrasts |
cr.lossfunc |
a loss function appropriate for linear combinations of parameters. |
prior.scale |
prior scale parameter |
Design matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.