Description Usage Arguments Value
Assuming a logistic model for the response, allocate treatments using a coordinate exchange algorithm according to an information matrix-based optimality criterion. Responses are simulated assuming the true parameter values.
1 2 |
covar |
a dataframe for the covariates |
beta |
an estimate for the true values of beta |
k |
an integer for the number of "outer loops" |
int |
set to T if you allow for treatment-covariate interactions in the model, NULL otherwise |
code |
set to NULL if (-1,1) coding is used for the treatments. Set to 0 if (0, 1) is used. |
lossfunc |
the objective function to minimize |
... |
further arguments to be passed to <lossfunc> |
design matrix D
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.