{
  "_id": "6a10175bacfb0bcc41c84e51",
  "Package": "pminternal",
  "Title": "Internal Validation of Clinical Prediction Models",
  "Version": "0.1.1",
  "Authors@R": "person(given = \"Stephen\", family = \"Rhodes\",\nemail= \"steverho89@gmail.com\", role=c(\"aut\", \"cre\", \"cph\"))",
  "Maintainer": "Stephen Rhodes <steverho89@gmail.com>",
  "Description": "Conduct internal validation of a clinical prediction model\nfor a binary outcome. Produce bias corrected performance\nmetrics (c-statistic, Brier score, calibration intercept/slope)\nvia bootstrap (simple bootstrap, bootstrap optimism, .632\noptimism) and cross-validation (CV optimism, CV average). Also\nincludes functions to assess model stability via bootstrap\nresampling. See Steyerberg et al. (2001)\n<doi:10.1016/s0895-4356(01)00341-9>; Harrell (2015)\n<doi:10.1007/978-3-319-19425-7>; Riley and Collins (2023)\n<doi:10.1002/bimj.202200302>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/stephenrho/pminternal,\nhttps://stephenrho.github.io/pminternal/",
  "BugReports": "https://github.com/stephenrho/pminternal/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "rmarkdown",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://stephenrho.r-universe.dev",
  "Date/Publication": "2025-04-16 21:11:58 UTC",
  "RemoteUrl": "https://github.com/stephenrho/pminternal",
  "RemoteRef": "HEAD",
  "RemoteSha": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:21:02 UTC",
    "User": "root"
  },
  "Author": "Stephen Rhodes [aut, cre, cph]",
  "MD5sum": "8a4fb28878b1a33920096a8e4cce8f1a",
  "_user": "stephenrho",
  "_type": "src",
  "_file": "pminternal_0.1.1.tar.gz",
  "_fileid": "aa47dfec8b0879d1ca4a55d5e1c6d6046b8f4af8450fe2a66cc3fcf3c76f1295",
  "_filesize": 1116990,
  "_sha256": "aa47dfec8b0879d1ca4a55d5e1c6d6046b8f4af8450fe2a66cc3fcf3c76f1295",
  "_created": "2026-05-14T06:21:02.000Z",
  "_published": "2026-05-22T08:44:11.454Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345964696,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988495769"
    },
    {
      "job": 77345964699,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988494811"
    },
    {
      "job": 77345964548,
      "time": 245,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7010797231"
    },
    {
      "job": 77345964794,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7010818059"
    },
    {
      "job": 77345964061,
      "time": 290,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988458505"
    },
    {
      "job": 77345963976,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156432975"
    },
    {
      "job": 77345964380,
      "time": 148,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988489956"
    },
    {
      "job": 77345964944,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988483505"
    },
    {
      "job": 77345964872,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988483261"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stephenrho/pminternal",
  "_commit": {
    "id": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
    "author": "Stephen Rhodes <steverho89@gmail.com>",
    "committer": "Stephen Rhodes <steverho89@gmail.com>",
    "message": "use cl = NULL when cores = 1\n",
    "time": 1744837918
  },
  "_maintainer": {
    "name": "Stephen Rhodes",
    "email": "steverho89@gmail.com",
    "login": "stephenrho",
    "uuid": 5862184
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dcurves",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "insight",
      "role": "Imports"
    },
    {
      "package": "marginaleffects",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pmcalibration",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "gbm",
      "role": "Suggests"
    },
    {
      "package": "rms",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "role": "Suggests"
    }
  ],
  "_owner": "stephenrho",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 13,
  "_contributors": [
    {
      "user": "stephenrho",
      "count": 18,
      "uuid": 5862184
    }
  ],
  "_userbio": {
    "uuid": 5862184,
    "type": "user",
    "name": "Stephen Rhodes"
  },
  "_downloads": {
    "count": 224,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pminternal"
  },
  "_devurl": "https://github.com/stephenrho/pminternal",
  "_pkgdown": "https://stephenrho.github.io/pminternal/",
  "_searchresults": 29,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pminternal.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stephenrho/pminternal",
  "_realowner": "stephenrho",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-03-18"
    }
  ],
  "_exports": [
    "boot_optimism",
    "cal_defaults",
    "cal_plot",
    "calibration_stability",
    "classification_stability",
    "crossval",
    "dcurve_stability",
    "get_stability",
    "mape_stability",
    "prediction_stability",
    "score_binary",
    "validate"
  ],
  "_help": [
    {
      "page": "boot_optimism",
      "title": "Calculate optimism and bias-corrected scores via bootstrap resampling",
      "topics": [
        "boot_optimism"
      ]
    },
    {
      "page": "cal_plot",
      "title": "Plot apparent and bias-corrected calibration curves",
      "topics": [
        "cal_plot"
      ]
    },
    {
      "page": "calibration_stability",
      "title": "Plot calibration stability across bootstrap replicates",
      "topics": [
        "calibration_stability"
      ]
    },
    {
      "page": "classification_stability",
      "title": "Classification instability plot",
      "topics": [
        "classification_stability"
      ]
    },
    {
      "page": "confint.internal_validatesummary",
      "title": "Confidence intervals for bias-corrected performance measures",
      "topics": [
        "confint.internal_validate"
      ]
    },
    {
      "page": "crossval",
      "title": "Calculate bias-corrected scores via cross-validation",
      "topics": [
        "crossval"
      ]
    },
    {
      "page": "dcurve_stability",
      "title": "Plot decision curve stability across bootstrap replicates",
      "topics": [
        "dcurve_stability"
      ]
    },
    {
      "page": "mape_stability",
      "title": "Mean absolute predictor error (MAPE) stability plot",
      "topics": [
        "mape_stability"
      ]
    },
    {
      "page": "prediction_stability",
      "title": "Plot prediction stability across bootstrap replicates",
      "topics": [
        "prediction_stability"
      ]
    },
    {
      "page": "print.internal_boot",
      "title": "Print a internal_boot object",
      "topics": [
        "print.internal_boot"
      ]
    },
    {
      "page": "print.internal_cv",
      "title": "Print a internal_cv object",
      "topics": [
        "print.internal_cv"
      ]
    },
    {
      "page": "print.internal_validate",
      "title": "print a internal_validate object",
      "topics": [
        "print.internal_validate"
      ]
    },
    {
      "page": "print.internal_validatesummary",
      "title": "Print summary of internal_validate object",
      "topics": [
        "print.internal_validatesummary"
      ]
    },
    {
      "page": "score_binary",
      "title": "Score predictions for binary events",
      "topics": [
        "score_binary"
      ]
    },
    {
      "page": "summary.internal_validate",
      "title": "Summarize a internal_validate object",
      "topics": [
        "summary.internal_validate"
      ]
    },
    {
      "page": "validate",
      "title": "Get bias-corrected performance measures via bootstrapping or cross-validation",
      "topics": [
        "validate"
      ]
    }
  ],
  "_readme": "https://github.com/stephenrho/pminternal/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "broom",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "dcurves",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "insight",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "marginaleffects",
    "MASS",
    "Matrix",
    "memoise",
    "mgcv",
    "mime",
    "nlme",
    "nnet",
    "pbapply",
    "pillar",
    "pkgconfig",
    "pmcalibration",
    "pROC",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "pminternal.Rmd",
      "filename": "pminternal.html",
      "title": "Getting started with pminternal",
      "author": "Stephen Rhodes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Supplying a model via fit",
        "User-defined model development functions",
        "User-defined score functions"
      ],
      "created": "2023-10-07 19:28:03",
      "modified": "2025-03-18 21:09:02",
      "commits": 8
    },
    {
      "source": "missing-data.Rmd",
      "filename": "missing-data.html",
      "title": "Handling missing data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Stacked multiple imputation",
        "Pattern submodels"
      ],
      "created": "2025-02-26 23:07:24",
      "modified": "2025-03-01 03:44:43",
      "commits": 2
    },
    {
      "source": "validate-examples.Rmd",
      "filename": "validate-examples.html",
      "title": "More examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Backward Selection",
        "Ridge",
        "Elastic Net",
        "Random Forest"
      ],
      "created": "2023-11-07 00:06:00",
      "modified": "2025-03-18 21:09:02",
      "commits": 4
    }
  ],
  "_score": 5.752432609261474,
  "_indexed": true,
  "_nocasepkg": "pminternal",
  "_universes": [
    "stephenrho"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-14T06:23:33.000Z",
      "distro": "noble",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "7dc67a38cdcdaa42405cd1b0df339e0bf279604c462b7a7c45ed05f515df015f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-14T06:23:32.000Z",
      "distro": "noble",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "26991d97da54b0877b6ed3175c4bc4022d5d8b488130598a210b20e09f27d971",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-15T05:37:06.000Z",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "a5e69980a116679e5ae1072124a72ffd84276c1a4bb05498b5fc88b9121447ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-15T05:39:10.000Z",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "f6d1b748ea0dba6e181dc08fd252d22b8170b61d3f8355bcca0478943832a39d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-14T06:22:51.000Z",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "618e1a534c1c3dee2defaf17eccfd329dafa0f1a9136b168f89b86e392d55340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-14T06:22:19.000Z",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "7bdca96b78438435e16447dc00199e6a14f173448a927a9095854b4fab24f5b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-14T06:22:20.000Z",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "624630085bdac0de4201af9302b5ee2e746ad0849578272e7688311fbd83f7d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-22T08:43:52.000Z",
      "commit": "f56dc51f9242ddd0017be7baf5f3b16be0358c8f",
      "fileid": "04df862c3ee02318419bc610d2fe05161642a741b233ab863297353865db468c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stephenrho/actions/runs/25845135980"
    }
  ]
}