Progression Free Survival Time
time_pfs.RdA function to calculate the time from start of survival to time of progression, AKA progression free survival time. Progression free survival is generally defined as the the time from start of survival to progression OR death from any cause, with censoring of subjects who are lost to follow-up.
Arguments
- start
A date vector. The start of survival time.
- progression
A date vector. The date of progression with
NAfor those who did not progress.- stop
A date vector. The time of last follow-up (time of death or last follow-up time).
- units
A character string of "seconds", "minutes", "hours", "days", "weeks", "months", "years".