Would you be open to a pull request for a new predict.fmsm method for the predict S3 generic? I would generally match the argument signature to the predict.flexsurvreg method, where applicable.
The predict.fmsm method would wrap pmatrix.fs/pmatrix.simfs and totlos.fs/totlos.simfs. Thus, the prediction types could be: 'prob' and 'totlos'.
I would also be interested in adding a tidy.fmsm method that ostensibly does purrr::map_dfr(fmsm_obj, tidy, .id = 'trans').
Hi @chjackson,
Would you be open to a pull request for a new
predict.fmsm
method for thepredict
S3 generic? I would generally match the argument signature to thepredict.flexsurvreg
method, where applicable.The
predict.fmsm
method would wrappmatrix.fs/pmatrix.simfs
andtotlos.fs/totlos.simfs
. Thus, the prediction types could be:'prob'
and'totlos'
.I would also be interested in adding a
tidy.fmsm
method that ostensibly doespurrr::map_dfr(fmsm_obj, tidy, .id = 'trans')
.What are your thoughts?