View source: R/cond_mat_func.R
condition_mat | R Documentation |
calculates the matrix which defines the constraints in the SVHM algorithm
condition_mat(event_vec, num_event_time)
event_vec |
vector containing information if a subject is at risk or if an event happens. If n are the number of subjects and m the number of event times, then event_vec has length n*m |
num_event_time |
number of event |
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.