Fix: jskm and svyjskm NEJM theme inset figure was lost when table = TRUE. The grob-based width alignment introduced in 0.5.20 dropped the patchwork inset; the inset is now applied after width alignment via patchwork::wrap_elements() so both the in-figure and the plot/risk-table x-axis alignment are preserved.
Fix: svyjskm single curve (svykm object from formula ~ 1) drew no line and showed a broken legend. The strata column stayed character, so levels(df$strata) <- ystratalabs only set an attribute; the later rbind with a factor zeros row produced NA strata. Now coerces to factor before relabeling.
status.cmprsk with factor status variable. cmprsk::cuminc() was called without cencode, causing the first factor level (censoring) to be treated as an event. Now correctly sets cencode to the first factor level and returns the p-value for the specified status.cmprsk event type.Fix : svyjskm kaplan-meier curve is vanished at starting point (0,0)
Fix : jskm kaplan-meier curve is vanished at starting point (0,0)
Update: Improve UI consistency (linewidth, axis alignment, risk table style) for jskm and svyjskm.
Update: Auto-append (%) to y-axis label when surv.scale = "percent".
Fix: svyjskm error when median survival is not reached.
Fix: ylabs initialization logic in svyjskm.
Internal: Remove dependency on scales package.
med.decimal option to jskmand svyjskm.cmprsk::crr() to survival::finegray() + coxph(id = id).left.nrisk option to the risktable in jskmand svyjskm.cmprsk branch.nejm.infigure.xlim option to x-axis breaks in jskm and svyjskm.nejm.surv.by option to y-axis breaks in jskm and svyjskm.table.censor option to show censored number in jskm.surv.by option to y-axis breaks in jskm and svyjskm.jskm and svyjskm.jskm.jskm.jskm and svyjskmjskm and svyjskmlinewidth optionjskmsvyjskm ystratalab problem with releveled factor variable.Add landmark analysis: cut.landmark option.
Remove dependency with plyr package.
svyjskmThe p-value is expressed as the value rounded to the 3rd decimal place.
Add pval.testname option, p-value is expressed with (Log-rank) text if pval.testname = T.
svyjskm. The number at risk is no-weighted values (same to jskm).svyjskm.Update travis-ci.
Add appveyor CI to test window environment.
Change ||, && to |, & for Debian environment.
Set some variable's initial values to NULL for cran release.
Remove gray rectangle above the Number at risk table.
Change p-value position according ylims option.
Add Numbers at risk label option to jskm: label.nrisk, size.label.nrisk.
Add percent scale option : surv.scale.
Add pvalue position & font size option : pval.size, pval.coord
Add ci option to svyjskm.
Get p-value without design option in svyjskm
svyjskm : Weighted Kaplan-Meier plot - svykm.object in survey packagefrailty, cluster options and their p value