Description Usage Arguments Value
Allocate treatment using coordinate exchange algorithm, assuming a linear model for the response which has an intercept, an effect for each covariate, an effect for the treatment, and allows for covariate-treatment interactions
1 |
covar |
a dataframe for the covariates |
k |
the number of random starting designs to use |
lossfunc |
the objective function to minimize |
int |
set to T if you allow for treatment-covariate interactions in the model, NULL otherwise |
... |
Further arguments to be passed to <lossfunc> |
design matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.