Closed mikesweeting closed 2 weeks ago
Thanks for spotting this - I think it is now fixed in https://github.com/chjackson/flexsurv/commit/353aad2497ef35db69425a9b2b06dcaeadf37df4 .
Thanks for fixing this! Do you know when this will get passed on to the next CRAN release?
Just a couple of open issues to resolve, then I'm happy to push a bug fix release to CRAN.
Hi,
I'm trying to simulate survival times for a bunch of individuals conditional on them surviving up to their (individual-specific) censoring time. I'm using
simulate.flexsurvreg()
passing a vector of left-truncation times to thestart
argument. But some of the simulated times that are returned are before the left-truncation times.Here is a reproducible example that shows the issue (I'm using version 2.3). Please let me know if I'm doing something wrong. Thanks!