pharmaverse / ggsurvfit

http://www.danieldsjoberg.com/ggsurvfit/
Other
67 stars 19 forks source link

Option for weighted/unweighted `n.risk`, `n.censor`, etc. with weighted `survfit()` call #203

Open ddsjoberg opened 2 months ago

ddsjoberg commented 2 months ago

Thank you @therneau for the note! "When there are case weights, do we want the weighted number at risk/events/censored or unweighted? I lean towards the unweighted for labels, weighted for follow-on computaions, but could argue both sides"