check_data_surv: Check that data is in right shape, hyparameters are feasible,...

View source: R/survival_qp.R

check_data_survR Documentation

Check that data is in right shape, hyparameters are feasible, and basis fns are valid

Description

Check that data is in right shape, hyparameters are feasible, and basis fns are valid

Usage

check_data_surv(B_X, trt, times, events, t, lambda, lowlim = 1, uplim = NULL)

Arguments

B_X

n x k basis matrix of covariates (X)

trt

Vector of treatment assignments

times

Vector of event/censoring times (see events for if event or censoring time)

events

Vector of boolean censoring indicators (whether individual was censored)

t

Time

lambda

Regularization hyper parameter

lowlim

Lower limit on weights, default 1

uplim

Upper limit on weights, default NULL


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