View source: R/risk_score_func.r
risk_time_score_training | R Documentation |
calculates the risk scores for all individuals in the training dataset for the time dependent SVHM.
risk_time_score_training(kernel_mat, event_vec, weight_vec, f_vec, n)
kernel_mat |
Gram matrix of the covariates |
event_vec |
vector containing information of the training if a subject experiences an event happens. |
weight_vec |
vector containing weigths |
f_vec |
optimal decision function |
n |
number of individuals in the training dataset |
vector of risk scores for all training subjects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.