check_data_cluster: Check that data is in right shape and hyparameters are...

View source: R/clustered_weights.R

check_data_clusterR Documentation

Check that data is in right shape and hyparameters are feasible

Description

Check that data is in right shape and hyparameters are feasible

Usage

check_data_cluster(ind_covs, clus_covs, trt, lambda, lowlim, uplim)

Arguments

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


ebenmichael/balancer documentation built on Jan. 17, 2024, 2:56 p.m.