{
  "_id": "6a101b70acfb0bcc41c87252",
  "Package": "reconstructKM",
  "Type": "Package",
  "Title": "Reconstruct Individual-Level Data from Published KM Plots",
  "Version": "0.4.0",
  "Authors@R": "person(\"Ryan\", \"Sun\", email = \"ryansun.work@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Functions for reconstructing individual-level data (time,\nstatus, arm) from Kaplan-MEIER curves published in academic\njournals (e.g. NEJM, JCO, JAMA). The individual-level data can\nbe used for re-analysis, meta-analysis, methodology\ndevelopment, etc. This package was used to generate the data\nfor commentary such as Sun, Rich, & Wei (2018)\n<doi:10.1056/NEJMc1808567>. Please see the vignette for a\nquickstart guide.",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "License": "GPL-3",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 09:09:47 UTC",
    "User": "root"
  },
  "Author": "Ryan Sun [aut, cre]",
  "Maintainer": "Ryan Sun <ryansun.work@gmail.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev libjpeg-dev libpng-dev\nlibxml2-dev libssl-dev",
  "Repository": "https://ryansunwork.r-universe.dev",
  "Date/Publication": "2025-12-03 16:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/reconstructKM",
  "RemoteRef": "HEAD",
  "RemoteSha": "1d3ab046c379642907f8e3dd26c78af206471a58",
  "MD5sum": "4a0bcc2a893115ebbc28945a3c49355a",
  "_user": "ryansunwork",
  "_type": "src",
  "_file": "reconstructKM_0.4.0.tar.gz",
  "_fileid": "d38e218d407bcc8f700e7a6029eb388353cbb3c7fb592d81a4a8e81b2d55e957",
  "_filesize": 746684,
  "_sha256": "d38e218d407bcc8f700e7a6029eb388353cbb3c7fb592d81a4a8e81b2d55e957",
  "_created": "2026-05-14T09:09:47.000Z",
  "_published": "2026-05-22T09:01:36.536Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77348559036,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991064929"
    },
    {
      "job": 77348559010,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991068102"
    },
    {
      "job": 77348559057,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991046957"
    },
    {
      "job": 77348558986,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991040018"
    },
    {
      "job": 77348558643,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991010391"
    },
    {
      "job": 77348558547,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156750329"
    },
    {
      "job": 77348559179,
      "time": 145,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991053889"
    },
    {
      "job": 77348559562,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991046736"
    },
    {
      "job": 77348559142,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991044622"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/reconstructKM",
  "_commit": {
    "id": "1d3ab046c379642907f8e3dd26c78af206471a58",
    "author": "Ryan Sun <ryansun.work@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.0\n",
    "time": 1764779402
  },
  "_maintainer": {
    "name": "Ryan Sun",
    "email": "ryansun.work@gmail.com",
    "login": "ryansunwork",
    "uuid": 53724996
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats4",
      "role": "Imports"
    },
    {
      "package": "survminer",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.0",
      "date": "2025-12-03"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ryansunwork",
      "count": 2,
      "uuid": 53724996
    }
  ],
  "_userbio": {
    "uuid": 53724996,
    "type": "user",
    "name": "ryansunwork"
  },
  "_downloads": {
    "count": 259,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/reconstructKM"
  },
  "_mentions": 2,
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/reconstructKM.html",
    "manual.pdf"
  ],
  "_realowner": "ryansunwork",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2020-11-25"
    },
    {
      "version": "0.4.0",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "add_clicks",
    "CIC_reconstruct",
    "format_raw_tabs",
    "integrate_survdat",
    "KM_reconstruct",
    "nonparam_rmst",
    "print_cox_outputs",
    "remove_clicks",
    "weibull_rmst",
    "weimle1"
  ],
  "_datasets": [
    {
      "name": "pbo_clicks",
      "title": "Pembrolizumab example OS KM reconstruction clicks - placebo arm",
      "object": "pbo_clicks",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "survival"
      ],
      "rows": 96,
      "table": true,
      "tojson": true
    },
    {
      "name": "pbo_NAR",
      "title": "Pembrolizumab example OS NAR table - placebo arm",
      "object": "pbo_NAR",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "NAR"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    },
    {
      "name": "pembro_clicks",
      "title": "Pembrolizumab example OS KM reconstruction clicks - pembrolizumab arm",
      "object": "pembro_clicks",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "survival"
      ],
      "rows": 97,
      "table": true,
      "tojson": true
    },
    {
      "name": "pembro_NAR",
      "title": "Pembrolizumab example OS NAR table - pembrolizumab arm",
      "object": "pembro_NAR",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "NAR"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_clicks",
      "title": "Add clicks to subdistribution curves for reconstructing CIC",
      "topics": [
        "add_clicks"
      ]
    },
    {
      "page": "CIC_reconstruct",
      "title": "Reconstruct cumulative incidence curves",
      "topics": [
        "CIC_reconstruct"
      ]
    },
    {
      "page": "format_raw_tabs",
      "title": "Format raw survival and NAR tables so they are ready for reconstruction algorithm",
      "topics": [
        "format_raw_tabs"
      ]
    },
    {
      "page": "integrate_survdat",
      "title": "Integrate area under curve for single arm",
      "topics": [
        "integrate_survdat"
      ]
    },
    {
      "page": "KM_reconstruct",
      "title": "Reconstruct digitized Kaplan-Meier curves and generate invididual patient data",
      "topics": [
        "KM_reconstruct"
      ]
    },
    {
      "page": "nonparam_rmst",
      "title": "Calculate RMST for each arm as well as contrast",
      "topics": [
        "nonparam_rmst"
      ]
    },
    {
      "page": "pbo_clicks",
      "title": "Pembrolizumab example OS KM reconstruction clicks - placebo arm",
      "topics": [
        "pbo_clicks"
      ]
    },
    {
      "page": "pbo_NAR",
      "title": "Pembrolizumab example OS NAR table - placebo arm",
      "topics": [
        "pbo_NAR"
      ]
    },
    {
      "page": "pembro_clicks",
      "title": "Pembrolizumab example OS KM reconstruction clicks - pembrolizumab arm",
      "topics": [
        "pembro_clicks"
      ]
    },
    {
      "page": "pembro_NAR",
      "title": "Pembrolizumab example OS NAR table - pembrolizumab arm",
      "topics": [
        "pembro_NAR"
      ]
    },
    {
      "page": "print_cox_outputs",
      "title": "Print outputs from Cox regression",
      "topics": [
        "print_cox_outputs"
      ]
    },
    {
      "page": "remove_clicks",
      "title": "Remove clicks from subdistribution curves for reconstructing CIC",
      "topics": [
        "remove_clicks"
      ]
    },
    {
      "page": "weibull_rmst",
      "title": "RMST using Weibull fit",
      "topics": [
        "weibull_rmst"
      ]
    },
    {
      "page": "weimle1",
      "title": "Fit Weibull distribution parameters using MLE",
      "topics": [
        "weimle1"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "commonmark",
    "corrplot",
    "cowplot",
    "cpp11",
    "curl",
    "Deriv",
    "doBy",
    "dplyr",
    "exactRankTests",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "ggtext",
    "glue",
    "gridExtra",
    "gridtext",
    "gtable",
    "isoband",
    "jpeg",
    "labeling",
    "lattice",
    "lifecycle",
    "litedown",
    "lme4",
    "lmtest",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "MatrixModels",
    "maxstat",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "png",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "survminer",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "reconstructKM Tutoral",
      "author": "Ryan Sun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Part 1",
        "Part 2",
        "Part 3",
        "Additional Analysis"
      ],
      "created": "2020-11-25 12:40:02",
      "modified": "2025-12-03 16:30:02",
      "commits": 2
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "reconstructkm",
  "_universes": [
    "ryansunwork"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-14T09:12:25.000Z",
      "distro": "noble",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "ea7620ffaac30ffb13c755da0cdba1f8fc35c2d53ce258c21e11218f4d0a2b03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-14T09:12:38.000Z",
      "distro": "noble",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "2d5ff64fb35c99f169c0c726ad7576394b8e9e78a870b3e56d4051f3642ca408",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-14T09:11:36.000Z",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "35acfe5c6e523315e2d6e5679b7cd58704dbd054004595522f24b0b8201cc5ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-14T09:11:17.000Z",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "69a08d9eadd757ad39efe621df91a24fa0b8f6501b81023001acfbd99c7f76fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-14T09:11:46.000Z",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "7c83458be55d14e679fcadb09b42265c366f2d38a8f12743c79fc358eb19af9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-14T09:11:18.000Z",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "86151145158290a8c85ec1ff8236bb9a2e995e7c2a8c4b7019703be9bb121c3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-14T09:11:10.000Z",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "9aafdb4582fd13c3db3c76776b1db75a39b900cf449e15ee8afd1a1bd3bca24e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-05-22T09:01:12.000Z",
      "commit": "1d3ab046c379642907f8e3dd26c78af206471a58",
      "fileid": "055b87a002a5020ff24397dda1e79e59759e0f67df2ad501a9c101ff708f8272",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ryansunwork/actions/runs/25851652665"
    }
  ]
}