View source: R/clustered_weights.R
check_data_cluster | R Documentation |
Check that data is in right shape and hyparameters are feasible
check_data_cluster(ind_covs, clus_covs, trt, lambda, lowlim, uplim)
ind_covs |
n x d1 matrix of covariates for individual units |
clus_covs |
n x d2 matrix of covariates for clusters |
trt |
n vector of treatment assignment |
lambda |
Regularization hyper parameter |
lowlim |
Lower limit on weights, default 0 |
uplim |
Upper limit on weights, default 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.