{
  "_id": "6ae3406a3d0f299392dd1650",
  "Package": "PAmeasures",
  "Type": "Package",
  "Title": "Performance Assessment for Continuous and Survival Outcomes",
  "Version": "2.0.0.9000",
  "Date": "2026-10-28",
  "Authors@R": "c(\nperson(\"Tong\", \"Zhu\", role = \"aut\"),\nperson(\"Zian\", \"Zhuang\", email = \"zianzhuang@ucla.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Wen\", \"Su\", role = \"aut\"),\nperson(\"Xiaowu\", \"Dai\", role = \"aut\"),\nperson(\"Xiaoyan\", \"Wang\", role = \"aut\"),\nperson(\"Gang\", \"Li\", role = \"aut\"))",
  "Description": "Evaluates prediction accuracy for continuous outcomes and\nthe predictive performance of survival models in a unified\nframework. Implements the R-squared, L-squared, pseudo\nR-squared and related explained variation measures of Li and\nWang (2019) <doi:10.1080/01621459.2018.1515079>, the\nconcordance indices of Harrell et al. (1982)\n<doi:10.1001/jama.1982.03320430047030> and Uno et al. (2011)\n<doi:10.1002/sim.4154>, the time-dependent area under the\nreceiver operating characteristic curve (AUC) of Heagerty,\nLumley and Pepe (2000) <doi:10.1111/j.0006-341X.2000.00337.x>,\nand the Brier score of Graf et al. (1999)\n<doi:10.1002/(SICI)1097-0258(19990915/30)18:17/18%3C2529::AID-SIM274%3E3.0.CO;2-5>.\nSupports right-censored data; competing risks, following\nWolbers et al. (2014) <doi:10.1093/biostatistics/kxt059>, Wu\nand Li (2018) <doi:10.1002/sim.7806> and Zhuang et al. (2025)\n<doi:10.48550/arXiv.2507.15040>; and two-phase sampling designs\nsuch as case-cohort and nested case-control studies, following\nLee, Zeleniuch-Jacquotte and Liu (2021)\n<doi:10.1080/02664763.2020.1861225>. Revives and expands the\noriginal 'PAmeasures' package with a unified interface for\nsurvival prediction assessment.",
  "URL": "https://github.com/Larryzza/PAmeasures",
  "BugReports": "https://github.com/Larryzza/PAmeasures/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Config/roxygen2/version": "8.1.0",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://larryzza.r-universe.dev",
  "Date/Publication": "2026-10-29 00:06:46 UTC",
  "RemoteUrl": "https://github.com/larryzza/pameasures",
  "RemoteRef": "HEAD",
  "RemoteSha": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
  "Packaged": {
    "Date": "2026-10-29 11:58:20 UTC",
    "User": "root"
  },
  "Author": "Tong Zhu [aut],\nZian Zhuang [aut, cre],\nWen Su [aut],\nXiaowu Dai [aut],\nXiaoyan Wang [aut],\nGang Li [aut]",
  "Maintainer": "Zian Zhuang <zianzhuang@ucla.edu>",
  "_user": "larryzza",
  "_type": "src",
  "_file": "PAmeasures_2.0.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/73355d46145752c9c1aca247518877185833477f3f82eaa79755993887d2c384",
  "_filesize": 445925,
  "_sha256": "73355d46145752c9c1aca247518877185833477f3f82eaa79755993887d2c384",
  "_expires": "2027-02-06T12:47:37.000Z",
  "_created": "2026-10-29T11:58:20.000Z",
  "_published": "2026-10-29T12:47:38.909Z",
  "_upstream": "https://github.com/larryzza/pameasures",
  "_status": "success",
  "_maintainer": {
    "name": "Zian Zhuang",
    "email": "zianzhuang@ucla.edu",
    "login": "larryzza",
    "description": "",
    "uuid": 54130060
  },
  "_jobs": [
    {
      "job": 123432756139,
      "time": 211,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12895522028"
    },
    {
      "job": 123432756280,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12894469433"
    },
    {
      "job": 123432756145,
      "time": 249,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12897778669"
    },
    {
      "job": 123432756252,
      "time": 184,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12897438985"
    },
    {
      "job": 123430174216,
      "time": 353,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12895471429"
    },
    {
      "job": 123432756194,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12895880766"
    },
    {
      "job": 123432756163,
      "time": 189,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12894799335"
    },
    {
      "job": 123432756219,
      "time": 173,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12895407114"
    },
    {
      "job": 123432756213,
      "time": 208,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12896010865"
    }
  ],
  "_buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655",
  "_commit": {
    "id": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
    "author": "Zian Zhuang <larry.zhuangzian@gmail.com>",
    "committer": "Zian Zhuang <larry.zhuangzian@gmail.com>",
    "message": "Fix competing-risk censoring and correct reference manual\n",
    "time": 1793232406
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tdROC",
      "role": "Imports"
    },
    {
      "package": "survivalROC",
      "role": "Imports"
    },
    {
      "package": "yardstick",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "pec",
      "role": "Imports"
    },
    {
      "package": "pmcalibration",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "prodlim",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "randomForestSRC",
      "role": "Suggests"
    },
    {
      "package": "cmprsk",
      "role": "Suggests"
    }
  ],
  "_owner": "larryzza",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 4
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 4
    },
    {
      "week": "2026-42",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 8
    },
    {
      "week": "2026-44",
      "n": 12
    }
  ],
  "_tags": [
    {
      "name": "timemetric-paper-baseline-2026-10-26",
      "date": "2026-10-20"
    },
    {
      "name": "before-pa-api-2026-10-26",
      "date": "2026-10-27"
    },
    {
      "name": "v2.0.0",
      "date": "2026-10-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "larryzza",
      "count": 46,
      "uuid": 54130060
    },
    {
      "user": "toz015",
      "count": 21,
      "uuid": 42127682
    },
    {
      "user": "claude",
      "count": 2,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 54130060,
    "type": "user",
    "name": "Zian Zhuang",
    "followers": 7
  },
  "_downloads": {
    "count": 54,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PAmeasures"
  },
  "_devurl": "https://github.com/larryzza/pameasures",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PAmeasures.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/larryzza/pameasures",
  "_realowner": "larryzza",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-01-22"
    },
    {
      "version": "2.0.0",
      "date": "2026-10-28"
    }
  ],
  "_exports": [
    "pa_calibration",
    "pa_calibration_cr",
    "pa_case_cohort_weights",
    "pa_evaluate_two_phase",
    "pa_fit_and_eval",
    "pa_metric_names",
    "pa_nested_case_control_weights",
    "pa_nlm",
    "pa_plot_pred",
    "pa_plot_summary",
    "pa_predict_cif",
    "pa_predict_coxph",
    "pa_predict_survreg",
    "pa_sample_design",
    "pa_sim_cox_weibull",
    "pa_simulate_fine_gray",
    "pa_summarize",
    "pa_summarize_cr",
    "pa_survival_eval",
    "pa_survival_eval_cr",
    "pam.nlm"
  ],
  "_datasets": [
    {
      "name": "moore",
      "title": "Moore's Law Data",
      "object": "moore",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "time",
        "count"
      ],
      "rows": 48,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "moore",
      "title": "Moore's Law Data",
      "topics": [
        "moore"
      ]
    },
    {
      "page": "pa_calibration",
      "title": "Calibration of Predicted Event Probabilities at One Time Point",
      "topics": [
        "pa_calibration",
        "pa_calibration_cr"
      ]
    },
    {
      "page": "pa_case_cohort_weights",
      "title": "Case-cohort sampling weights",
      "topics": [
        "pa_case_cohort_weights"
      ]
    },
    {
      "page": "pa_evaluate_two_phase",
      "title": "Evaluate Survival Model Metrics for Two-Phase Sampling Designs",
      "topics": [
        "pa_evaluate_two_phase"
      ]
    },
    {
      "page": "pa_fit_and_eval",
      "title": "Performance Metrics for Survival Analysis Models",
      "topics": [
        "pa_fit_and_eval"
      ]
    },
    {
      "page": "pa_metric_names",
      "title": "Canonical metric names",
      "topics": [
        "pa_metric_names"
      ]
    },
    {
      "page": "pa_nested_case_control_weights",
      "title": "Nested case-control (NCC) sampling weights",
      "topics": [
        "pa_nested_case_control_weights"
      ]
    },
    {
      "page": "pa_nlm",
      "title": "Prediction Accuracy for Continuous Outcomes",
      "topics": [
        "pam.nlm",
        "pa_nlm"
      ]
    },
    {
      "page": "pa_plot_pred",
      "title": "Descriptive Plot of Predicted and Observed Survival Times",
      "topics": [
        "pa_plot_pred"
      ]
    },
    {
      "page": "pa_plot_summary",
      "title": "Arrange multiple prediction plots with letter tags",
      "topics": [
        "pa_plot_summary"
      ]
    },
    {
      "page": "pa_predict_cif",
      "title": "Predict Subject-Specific Cumulative Incidence Function (CIF)",
      "topics": [
        "pa_predict_cif"
      ]
    },
    {
      "page": "pa_predict_coxph",
      "title": "Prediction Accuracy Measures for Cox Proportional Hazards Model",
      "topics": [
        "pa_predict_coxph"
      ]
    },
    {
      "page": "pa_predict_survreg",
      "title": "Prediction Accuracy Measures for Parametric Survival Regression Models",
      "topics": [
        "pa_predict_survreg"
      ]
    },
    {
      "page": "pa_sample_design",
      "title": "Summarize multiple two-phase (case-cohort) models into a wide table",
      "topics": [
        "pa_sample_design"
      ]
    },
    {
      "page": "pa_sim_cox_weibull",
      "title": "Simulate Cox survival data with optional interaction terms and targeted censoring",
      "topics": [
        "pa_sim_cox_weibull"
      ]
    },
    {
      "page": "pa_simulate_fine_gray",
      "title": "Simulate data from a two-cause Fine-Gray model",
      "topics": [
        "pa_simulate_fine_gray"
      ]
    },
    {
      "page": "pa_summarize",
      "title": "Summarize multiple survival models into a wide comparison table",
      "topics": [
        "pa_summarize"
      ]
    },
    {
      "page": "pa_summarize_cr",
      "title": "Summarize multiple competing-risks models into a wide comparison table",
      "topics": [
        "pa_summarize_cr"
      ]
    },
    {
      "page": "pa_survival_eval",
      "title": "Compute Survival Model Evaluation Metrics",
      "topics": [
        "pa_survival_eval"
      ]
    },
    {
      "page": "pa_survival_eval_cr",
      "title": "Evaluate Survival Prediction Performance with Competing Risks",
      "topics": [
        "pa_survival_eval_cr"
      ]
    }
  ],
  "_readme": "https://github.com/larryzza/pameasures/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "cmprsk",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "hardhat",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mets",
    "mgcv",
    "mime",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "patchwork",
    "pbapply",
    "pec",
    "pillar",
    "pkgconfig",
    "plotrix",
    "pmcalibration",
    "polspline",
    "prodlim",
    "progressr",
    "Publish",
    "purrr",
    "quantreg",
    "R6",
    "ranger",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "riskRegression",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "shape",
    "SparseM",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "survivalROC",
    "tdROC",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timereg",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "yardstick",
    "zoo"
  ],
  "_score": 4.041392685158225,
  "_indexed": true,
  "_nocasepkg": "pameasures",
  "_universes": [
    "larryzza"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0.9000",
      "date": "2026-10-29T12:00:52.000Z",
      "distro": "resolute",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/c08f4795380494c43f3eaa8aeffd6c9314c36cd0990e06e3e37ccc3f3dc0f670",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0.9000",
      "date": "2026-10-29T12:00:54.000Z",
      "distro": "resolute",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/2215d641f52cb51c0037c166e33fb7b39b0b5db64cbe2983b62167e30593cf73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0.9000",
      "date": "2026-10-29T12:45:35.000Z",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/cc9bda27b24718191cbf2e056bf2c3b05b78d3d69261eaa1d2a90abc38ee75a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.0.9000",
      "date": "2026-10-29T12:45:00.000Z",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/4360ecb77f61644e11e291e5117355de2d69071c9daa7944464b0f5d3509c821",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0.9000",
      "date": "2026-10-29T12:01:12.000Z",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/1275c9a126ea040520e25c04a1436b41d1bc108300cd6655f02a8d0dc5f831ee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0.9000",
      "date": "2026-10-29T11:59:56.000Z",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/e41f8f22e572fd3130057f61a86ddcd7ef7bf74eb584873aba36d4c640559b7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0.9000",
      "date": "2026-10-29T11:59:53.000Z",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/b7bcfa4fa30e564dbce27c6c50e0465cc79401e3d77f21be6b1c31ce12ace342",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0.9000",
      "date": "2026-10-29T12:00:48.000Z",
      "commit": "cff137707fd636f5da1142f5b8069c9a7cfb854a",
      "fileid": "https://r2.ropensci.org/0714c6b3107af126fa2890fdc9b61d953e8cce15c1e9b84f4966730738590d1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larryzza/actions/runs/40868741655"
    }
  ]
}