| nba {GofCens} | R Documentation |
Survival times of former NBA players.
Description
Survival times of former NBA players after their NBA career.
Usage
data("nba")
Format
A data frame with 3962 observations on the following 3 variables.
idPlayer ID
survtimeTime (in years) from end of NBA career until either death or July 31, 2019.
censDeath indicator (1, exact survival time; 0, right-censored survival time).
Details
The survival times of former NBA players were analyzed by MartÃnez et al. (2022).
Source
J. A. MartÃnez, K. Langohr, J. Felipo, L. Consuegra and M. Casals. Data set on mortality of national basketball association (NBA) players. In: Data in Brief, 45 (2022).
Examples
data(nba)
cumhazPlot(Surv(survtime, cens) ~ 1, nba)
[Package GofCens version 1.1 Index]