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

View source: R/multilevel_qp.R

check_data_multiR 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_multi(X, trt, Z, Xz, lambda, lowlim, uplim)

Arguments

X

n x d matrix of covariates

Z

Vector of group indicators with J levels

Xz

list of J n x d matrices of covariates split by group

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.