rmst function

Restricted mean survival time