Risktable in ggcuminc() #231
BirgitteRomme
started this conversation in
General
Replies: 1 comment
-
@ddsjoberg :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Daniel!
I have a cumulative incidence plot where I also have the risktable.
My code is as following:
comp.risk.output %>%
ggcuminc() %>%
add_risktable(
risktable_stats = "n.risk",
stats_label = list(n.risk ) "No. at Risk"),
size = 3) +
add_confidence_interval()+
scale_ggsurvfit()
As you can see here, the risktable is to much to the right so the numbers in the risk table is not well illustrated.
I would like to put the legend of the risktable that is created more to the left, as shown here:
Any suggestions how to do that?
Thanks alot for a great package!
Best regards,
Birgitte Romme Nielsen
Beta Was this translation helpful? Give feedback.
All reactions