View source: R/opt_data_func.R
optimization_time_data | R Documentation |
calculates all needed values to execute quadratic optimization for the time dependent SVHM at the given event time.
optimization_time_data(covariates, mat_train, event_time, gamma_squared = 0.5)
covariates |
dataset of covariates of the subjects in a dataset |
mat_train |
matrix of all individuals under risk at the event time |
event_time |
event time for which data is calculated |
gamma_squared |
width of gaussian kernel |
List
$adap_k_mat
matrix on which quadratic optimization will be performed
$w_vec
vector of weights at any event time for all subjects
$k_mat
Gram matrix of covariates
$e_vec
vector indicating vector containing information if a subject experiences an event.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.