View source: R/data.GaussKronrod.R
data.GaussKronrod | R Documentation |
Initialisation of Survival Data at Gauss Kronrod time points
data.GaussKronrod(data.id, Time, k = 15)
data.id |
A database with covariates of interest and 1 line per subject |
Time |
A vector of time event |
k |
The number of Gauss Kronrod points, by default k = 15 |
A list with the following components :
K
an integer, the number of points
P
a vector, of value Time/2
st
a matrix with nrow = number of subjects and ncol = k. The new time to compute the survival function
wk
a vector of weights
data.id2
a database with K lines per subjects
id.GK
the vector of IDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.