Description Usage Arguments Value
View source: R/wght_functions.R
Groups should be numbered 1, ..., N
1 2 3 4 5 6 7 8 9 10 11 | wght_matrix(
integrand,
allocations,
X,
A,
G,
parameters,
runSilent = TRUE,
integrate_allocation = TRUE,
...
)
|
integrand |
function to pass to the argument 'f' of |
allocations |
coverage levels in [0, 1]. Can be vector. |
X |
covariate matrix |
A |
vector of treatment assignments |
G |
vector of group assignments |
parameters |
vector of parameters passed to |
runSilent |
if FALSE, errors are printed to console. Defaults to TRUE. |
integrate_allocation |
Indicator of whether the integrand function uses the allocation parameter. Defaults to TRUE. |
... |
other arguments passed to integrand. |
a length(unique(group)) X length(alphas) matrix of group weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.