SurvTrunc

R package to estimate the survival distribution function and fit the Cox regression model when the event times are subject to truncation

1. First install devtools

install.packages(“devtools”); library(devtools)

2. Install SurvTrunc Package from github

install_github(“rennertl/SurvTrunc”)

The functions in SurvTrunc can be viewed using the following command:

help(package=SurvTrunc)