data.GaussKronrod: Initialisation of Survival Data at Gauss Kronrod time points

View source: R/data.GaussKronrod.R

data.GaussKronrodR Documentation

Initialisation of Survival Data at Gauss Kronrod time points

Description

Initialisation of Survival Data at Gauss Kronrod time points

Usage

data.GaussKronrod(data.id, Time, k = 15)

Arguments

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

Value

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


FlexVarJM documentation built on Nov. 21, 2023, 1:06 a.m.