jinseob2kim / jskm

R package for Kaplan-Meier Plot: Modified ggkm
https://jinseob2kim.github.io/jskm/
Apache License 2.0
20 stars 14 forks source link

Error of `svykm` function #27

Open Ink-Mo opened 4 months ago

Ink-Mo commented 4 months ago

Hi, Kim,

There is an error from svykm function. My code are followed:

km <- svykm(Surv(time,Status) ~ group ,design = dataIPTW)

svykm(km, pval = T,design = dataIPTW) Error in svykm.survey.design(km, pval = T, design = dataIPTW) : need a formula

jinseob2kim commented 3 months ago

In jskm, there is svyjskm function