survminer
survminer copied to clipboard
how to retain the confidence interval in plot when try to transform it to plotly object
Expected behavior
Hi, I plot a KM curve using ggsurvplot, and I want to make a interactive plot with plotly. I can extract the curve and risk table by using g[0] and g[1]. However, it seems that the plot loses the information of confidence interval in origin plot. How can I retain the information?