check_data_surv | R Documentation |
Check that data is in right shape, hyparameters are feasible, and basis fns are valid
check_data_surv(B_X, trt, times, events, t, lambda, lowlim = 1, uplim = NULL)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.