Description Usage Arguments Value
Allocate treatments according to an information matrix based optimality criterion allowing for a pseudo-nonmyopic approach. We assume a linear model for the response.
1 2 |
covar |
a dataframe for the covariates |
sim |
number of trajectories to simulate |
int |
set to T if you allow for treatment-covariate interactions in the model, NULL otherwise |
z.probs |
vector of probabilities for each level of covariate z |
lossfunc |
the objective function to minimize |
stoc |
set to T if treatments are allocated using a stochastic method where the probability is determined by the optimality crtierion. Set to F if treatments are allocated deterministically. |
same.start |
the design matrix to be used for the initial design. If set to NULL, function generates initial design. |
coordex |
set to T if coordinate exchange algorithm is used to allocate treatments in the trajectory, set to NULL for sequential approach. |
... |
further arguments to be passed to <lossfunc> |
Design matrix D, value of objective function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.