We're interested in calculating discounted RMST for health economic analyses, so I've taken the liberty of trying to implement this within your survextrap rmst() and irmst() functions.
It needs checking, but I believe it is doing the right thing. I haven't written any test function for it yet but have updated the documentation.
If you think this is useful, it could perhaps also be incorporated into flexsurv?
Hi Chris,
We're interested in calculating discounted RMST for health economic analyses, so I've taken the liberty of trying to implement this within your survextrap
rmst()
andirmst()
functions.It needs checking, but I believe it is doing the right thing. I haven't written any test function for it yet but have updated the documentation.
If you think this is useful, it could perhaps also be incorporated into flexsurv?