surv_diff | R Documentation |
Calculates the difference between the survival functions of the left and right time intervals for outcome k for quadrature node d.
surv_diff(l, d, temp_beta, phen, r1, k)
l |
Outcome of interest. |
d |
Total number of Gaussian quadrature nodes. |
temp_beta |
Vector of fitted coefficients. |
phen |
List of data matrices containing both left and right information. |
r1 |
Gaussian quadrature nodes. |
k |
Total number of outcomes. |
The output is a vector of the difference of the survival values of the left times and right times.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.