number at risk

  1. A

    ggsurvplot: Round n.risk for weighted data

    Hi all, I'm creating Kaplan-Meier plots with ggsurvplot on weighted data. When I add the risk.table (showing the number at risk over time) I get long decimals because of the weighted data. Is there a way to round the number at risk in the risk.table? I've tried overriding the ggrisktable...