-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slight changes to the plot? #4
Comments
Thanks. |
Re 3. I don't mean to move this under Re 5. I like that! We should look into it! |
Thank you, both! The comments sound good ;-)
Re 4. I'll try to format the blendR object and then use survHE to compute the mean survival time with summary function...
Bests,
Zhaojing
…________________________________
From: Gianluca Baio ***@***.***>
Sent: 30 November 2022 15:11
To: StatisticsHealthEconomics/blendR ***@***.***>
Cc: Che, Zhaojing ***@***.***>; Mention ***@***.***>
Subject: Re: [StatisticsHealthEconomics/blendR] Slight changes to the plot? (Issue #4)
⚠ Caution: External sender
Re 3. I don't mean to move this under survHE --- blendR should remain a separate package. But I wonder whether it's better to not duplicate functions --- what if we change/improve survHE::make_surv? Then we'd have to modify the code in blendR too... Then again, if we have only one version of the function, we'd need to worry of the implications of changes in survHE over the output in blendR, so there probably is no clear solution...
Re 5. I like that! We should look into it!
—
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOKSMMBFKN3CILQNGRBLYL3WK5VCXANCNFSM6AAAAAASPVD2CQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @n8thangreen and @Zhaojingche. A few comments/ideas from me:
I've pushed a new version in which I've included a
weightplot
function (to, well... plot the resulting weight function from ablendR
object. To do that, I've slightly modified the output ofblendsurv
to return the weights and other helpful things... We may stipulate to store these extra bits into amisc
object inside the main output?).I also think we could improve slightly the appearance of the
plot
function --- how about adding this?I think the resulting picture would like a bit nicer...
@n8thangreen: why do you need to create specialised copies of
make.surv
? Can'tsurvHE
take care directly of what you need it to do?Could
survHE::summary.survHE
be used on theblendR
object to compute the mean survival time? To do so, you need to format theblendR
object in a way thatsurvHE
understands 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.02
and use that to plot the ribbon around the short/long term extrapolations so that the blended part is easier to visualise?Under
Rstudio
can we use themanipulate
package 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?
The text was updated successfully, but these errors were encountered: