-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi @n8thangreen and @Zhaojingche. A few comments/ideas from me:
-
I've pushed a new version in which I've included a
weightplotfunction (to, well... plot the resulting weight function from ablendRobject. To do that, I've slightly modified the output ofblendsurvto return the weights and other helpful things... We may stipulate to store these extra bits into amiscobject inside the main output?). -
I also think we could improve slightly the appearance of the
plotfunction --- how about adding this?
theme_bw() + theme(legend.position=c(.9,.85),legend.background = element_rect(fill='transparent'))
I think the resulting picture would like a bit nicer...
-
@n8thangreen: why do you need to create specialised copies of
make.surv? Can'tsurvHEtake care directly of what you need it to do? -
Could
survHE::summary.survHEbe used on theblendRobject to compute the mean survival time? To do so, you need to format theblendRobject in a way thatsurvHEunderstands directly --- and I'm not sure you want to do that, because it may mess up with other things... -
Like I said this morning, I would probably try and find ways to summarise the results of the blending process... Maybe looking at the hazard or density functions for the resulting blended curve may be a good idea. Maybe also add another parameter
alpha_1 <- 0.02and use that to plot the ribbon around the short/long term extrapolations so that the blended part is easier to visualise? -
Under
Rstudiocan we use themanipulatepackage to create a semi-live version of the process that chooses the weights and how that impact the blending?
OK --- this is it from me, for now... Do these make sense?