{
  "_id": "6a1eed49b401979e7341278b",
  "Package": "PTSDdiag",
  "Type": "Package",
  "Title": "Optimize PTSD Diagnostic Criteria",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\n\"Laura\", \"Weidmann\",\ncomment = c(ORCID = \"0009-0006-5509-6961\"),\nrole = c(\"aut\")\n),\nperson(\n\"Tobias R.\", \"Spiller\",\nemail = \"tobias.spiller@access.uzh.ch\",\ncomment = c(ORCID = \"0000-0002-0107-0743\"),\nrole = c(\"aut\", \"cre\")\n),\nperson(\n\"Flavio A.\", \"Schüepp\",\ncomment = c(ORCID = \"0000-0002-0750-3888\"),\nrole = c(\"aut\")\n)\n)",
  "Description": "Provides tools for analyzing and optimizing PTSD\n(Post-Traumatic Stress Disorder) diagnostic criteria using\nPCL-5 (PTSD Checklist for DSM-5) data. Functions identify\noptimal subsets of PCL-5 items that maintain diagnostic\naccuracy while reducing assessment burden. Includes tools for\nboth hierarchical (cluster-based) and non-hierarchical symptom\ncombinations, calculation of diagnostic metrics, and comparison\nwith standard DSM-5 criteria. Model validation is conducted\nusing holdout and cross-validation methods to assess robustness\nand generalizability of the results. For more details see\nWeidmann et al. (2025) <doi:10.31219/osf.io/6rk72_v1>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/WeidmannL/PTSDdiag",
  "BugReports": "https://github.com/WeidmannL/PTSDdiag/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://weidmannl.r-universe.dev",
  "Date/Publication": "2026-02-18 09:47:05 UTC",
  "RemoteUrl": "https://github.com/weidmannl/ptsddiag",
  "RemoteRef": "HEAD",
  "RemoteSha": "249808c5cbbb18e013e92a01687c239594409b76",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 09:10:16 UTC",
    "User": "root"
  },
  "Author": "Laura Weidmann [aut] (ORCID: <https://orcid.org/0009-0006-5509-6961>),\nTobias R. Spiller [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0107-0743>),\nFlavio A. Schüepp [aut] (ORCID:\n<https://orcid.org/0000-0002-0750-3888>)",
  "Maintainer": "Tobias R. Spiller <tobias.spiller@access.uzh.ch>",
  "MD5sum": "84e31ae15a061e61d5402b8e6416c275",
  "_user": "weidmannl",
  "_type": "src",
  "_file": "PTSDdiag_0.1.0.tar.gz",
  "_fileid": "a3219299f8c0857eeae302bd8fc8f74d095c13b8b33881ebfe47cc64207e9852",
  "_filesize": 232476,
  "_sha256": "a3219299f8c0857eeae302bd8fc8f74d095c13b8b33881ebfe47cc64207e9852",
  "_created": "2026-05-19T09:10:16.000Z",
  "_published": "2026-06-02T14:48:41.681Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79099085170,
      "time": 345,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079474121"
    },
    {
      "job": 79099085605,
      "time": 365,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079481573"
    },
    {
      "job": 79099084806,
      "time": 422,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079487741"
    },
    {
      "job": 79099084886,
      "time": 352,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079461761"
    },
    {
      "job": 79099084261,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079351347"
    },
    {
      "job": 79099083941,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361144338"
    },
    {
      "job": 79099084617,
      "time": 364,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7079480171"
    },
    {
      "job": 79099085633,
      "time": 353,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7079476013"
    },
    {
      "job": 79099085196,
      "time": 406,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079496175"
    }
  ],
  "_buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/weidmannl/ptsddiag",
  "_commit": {
    "id": "249808c5cbbb18e013e92a01687c239594409b76",
    "author": "WeidmannL <186683311+WeidmannL@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from TobiasRSpiller/feature/cran-pkgdown-v2\n\nAdd pkgdown website, GitHub Actions CI, and CRAN preparation",
    "time": 1771408025
  },
  "_maintainer": {
    "name": "Tobias R. Spiller",
    "email": "tobias.spiller@access.uzh.ch",
    "orcid": "0000-0002-0107-0743"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "modelr",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "psych",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "weidmannl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "weidmannl",
      "count": 26,
      "uuid": 186683311
    },
    {
      "user": "tobiasrspiller",
      "count": 1,
      "uuid": 54402019
    }
  ],
  "_userbio": {
    "uuid": 186683311,
    "type": "user",
    "name": "WeidmannL"
  },
  "_downloads": {
    "count": 162,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PTSDdiag"
  },
  "_devurl": "https://github.com/weidmannl/ptsddiag",
  "_searchresults": 0,
  "_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/PTSDdiag.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/weidmannl/ptsddiag",
  "_realowner": "weidmannl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "analyze_best_six_symptoms_four_required",
    "analyze_best_six_symptoms_four_required_clusters",
    "binarize_data",
    "calculate_ptsd_total",
    "create_ptsd_diagnosis_binarized",
    "create_ptsd_diagnosis_nonbinarized",
    "create_readable_summary",
    "cross_validation",
    "holdout_validation",
    "rename_ptsd_columns",
    "summarize_ptsd",
    "summarize_ptsd_changes"
  ],
  "_datasets": [
    {
      "name": "simulated_ptsd",
      "title": "Simulated PCL-5 (PTSD Checklist) Data",
      "object": "simulated_ptsd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "S1",
        "S2",
        "S3",
        "S4",
        "S5",
        "S6",
        "S7",
        "S8",
        "S9",
        "S10",
        "S11",
        "S12",
        "S13",
        "S14",
        "S15",
        "S16",
        "S17",
        "S18",
        "S19",
        "S20"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "analyze_best_six_symptoms_four_required",
      "title": "Find optimal non-hierarchical six-symptom combinations for PTSD diagnosis",
      "topics": [
        "analyze_best_six_symptoms_four_required"
      ]
    },
    {
      "page": "analyze_best_six_symptoms_four_required_clusters",
      "title": "Find optimal hierarchical six-symptom combinations for PTSD diagnosis",
      "topics": [
        "analyze_best_six_symptoms_four_required_clusters"
      ]
    },
    {
      "page": "binarize_data",
      "title": "Binarize PCL-5 symptom scores",
      "topics": [
        "binarize_data"
      ]
    },
    {
      "page": "calculate_ptsd_total",
      "title": "Calculate PTSD total score",
      "topics": [
        "calculate_ptsd_total"
      ]
    },
    {
      "page": "create_ptsd_diagnosis_binarized",
      "title": "Determine PTSD diagnosis based on DSM-5 criteria using binarized scores",
      "topics": [
        "create_ptsd_diagnosis_binarized"
      ]
    },
    {
      "page": "create_ptsd_diagnosis_nonbinarized",
      "title": "Determine PTSD diagnosis based on DSM-5 criteria using non-binarized scores",
      "topics": [
        "create_ptsd_diagnosis_nonbinarized"
      ]
    },
    {
      "page": "create_readable_summary",
      "title": "Create readable summary of PTSD diagnostic changes",
      "topics": [
        "create_readable_summary"
      ]
    },
    {
      "page": "cross_validation",
      "title": "Perform k-fold cross-validation for PTSD diagnostic models",
      "topics": [
        "cross_validation"
      ]
    },
    {
      "page": "holdout_validation",
      "title": "Perform holdout validation for PTSD diagnostic models",
      "topics": [
        "holdout_validation"
      ]
    },
    {
      "page": "rename_ptsd_columns",
      "title": "Rename PTSD symptom (= PCL-5 item) columns",
      "topics": [
        "rename_ptsd_columns"
      ]
    },
    {
      "page": "simulated_ptsd",
      "title": "Simulated PCL-5 (PTSD Checklist) Data",
      "topics": [
        "simulated_ptsd"
      ]
    },
    {
      "page": "summarize_ptsd",
      "title": "Summarize PTSD scores and diagnoses",
      "topics": [
        "summarize_ptsd"
      ]
    },
    {
      "page": "summarize_ptsd_changes",
      "title": "Summarize changes in PTSD diagnostic metrics",
      "topics": [
        "summarize_ptsd_changes"
      ]
    }
  ],
  "_pkglogo": "https://github.com/weidmannl/ptsddiag/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/weidmannl/ptsddiag/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "modelr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "An introduction to PTSDdiag",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "2. Installation",
        "2.1. Installing the Package",
        "2.2. Loading Required Packages",
        "3. Basic Usage",
        "3.1. Loading Sample Data",
        "3.2. Data Preparation",
        "3.3. Basic Descriptive Statistics",
        "3.4. Reliability Analysis",
        "4. Finding Optimal Symptom Combinations",
        "4.1. Hierarchical Analysis",
        "4.2. Non-Hierarchical Analysis",
        "5. Model Validation",
        "5.1. Holdout Validation",
        "5.2. Cross-Validation",
        "5.3. Comparing Validation Approaches",
        "5.4. Validation Best Practices",
        "6. Conclusion"
      ],
      "created": "2025-02-03 07:45:16",
      "modified": "2026-02-18 09:47:05",
      "commits": 7
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "ptsddiag",
  "_universes": [
    "weidmannl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-19T09:12:37.000Z",
      "distro": "noble",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "bc30439b3787815eeaea79c645d88eefdad7a8b2759ac2c92ce58adb3f54cf31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-19T09:13:07.000Z",
      "distro": "noble",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "995c1f7e7f08afc1b3cb81fb5e2eaa064a837dd9b760c91671690b7af40acf19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-19T09:13:40.000Z",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "65176734ba293b2d3f12cfa6204bd22b54df5d44051e2b293b953535beda2c3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-19T09:12:44.000Z",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "e1ffcd7671bca0aaa89754e6457a485e0aa84704c1b76aef6ca2370441a2972b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-19T09:12:14.000Z",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "6753ae7dad26acd6ed6281e69ad5e0e59ce87edb6cc7094bb57cd422b9d9b4d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-19T09:11:32.000Z",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "410e24d87b73359319adbc15679d2bfda77474d69f45aac905ba32ccf1f8a411",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-19T09:11:39.000Z",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "a8a0108fcb11dd5d0ca075cf768e1d8fd38c11a162e1e23d34b693d2f0d3482a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T14:47:58.000Z",
      "commit": "249808c5cbbb18e013e92a01687c239594409b76",
      "fileid": "22a4987ae3cf73aba8f5603f192f928627b044826e8a9449881b7c7573f70282",
      "status": "success",
      "buildurl": "https://github.com/r-universe/weidmannl/actions/runs/26087487016"
    }
  ]
}