Kaplan-Meier Plot with 'ggplot2'
Overview
The function 'jskm()' creates publication quality Kaplan-Meier plot with at risk tables below. 'svyjskm()' provides plot for weighted Kaplan-Meier estimator.
- Fix:
jskmandsvyjskmNEJM theme inset figure was lost whentable = TRUE. The grob-based width alignment introduced in 0.5.20 dropped the patchwork inset; the inset is now applied after width alignment viapatchwork::wrap_elements()so both the in-figure and the plot/risk-table x-axis alignment are preserved. - Fix:
svyjskmsingle curve (svykmobject from formula~ 1) drew no line and showed a broken legend. Thestratacolumn stayed character, solevels(df$strata) <- ystratalabsonly set an attribute; the laterrbindwith a factorzerosrow produced NA strata. Now coerces to factor before relabeling.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-25
- ERROR12 OK, 1 ERROR2026-10-24
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-10
- WARNING12 OK, 1 WARNING2026-05-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 3 (1 internal)
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- jskm HTML
Downloads
Repository
- PRs merged (all time)
- 78%
- Median days to close, 50 most recently updated closed issues
- 136
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/jinseob2kim/jskm on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-09-04 · The repository has a site deploy workflow
pkgdown site last built 2025-09-04, before release 0.6.3 (2026-05-27)
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen on or before 2025-09-04Commits: at least 5 crediting it in the message
- Claude Opus 4.72 commits · May 2026
- Claude Opus 4.61 commit · Mar 2026
Dependencies
Installing jskm adds 73 packages (35 with compiled code, 71 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.6.3Latest
- RR 4.6.0 released · 2026-04-24
- 0.6.22026-03-17 · diff ↗
- 0.6.12026-02-11 · diff ↗
- 0.6.02026-01-27 · diff ↗
- 0.5.222025-11-28 · diff ↗
- 0.5.212025-10-24 · diff ↗
- 0.5.202025-10-01 · diff ↗
- 0.5.162025-08-19 · diff ↗
- 0.5.142025-07-30 · diff ↗
- 0.5.132025-06-12 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.5.112025-03-20 · diff ↗
- 0.5.102025-02-05 · diff ↗
- 0.5.82025-01-08 · diff ↗
- 0.5.62024-10-23 · diff ↗
Show 24 earlier eventsHide 24 earlier events
- 0.5.52024-07-08 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.5.32024-01-26 · diff ↗
- 0.5.22023-08-10 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.52023-03-19 · diff ↗
- 0.4.42023-01-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.4.32021-10-11 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.4.22020-11-24 · diff ↗
- 0.4.12020-11-01 · diff ↗
- 0.4.02020-08-26 · diff ↗
- 0.3.92020-05-17 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.3.82019-11-08 · diff ↗
- 0.3.72019-10-03 · diff ↗
- 0.3.62019-09-04 · diff ↗
- 0.3.52019-05-17 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.3.12019-03-12 · diff ↗
- 0.3.02019-02-15 · diff ↗
- 0.2.72019-02-01
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-02-01
- Total releases
- 31 / 7 yrs
- License
- Apache License 2.0 OSI
- Minimum R
- ≥ 3.4.0
- Download size
- 912 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("jskm")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.