{
  "_id": "6a10287dacfb0bcc41c90b74",
  "Package": "mccount",
  "Title": "Estimate Recurrent Event Burden with Competing Risks",
  "Version": "0.1.1.9000",
  "Authors@R": "person(\"Kenneth A.\", \"Taylor\", , \"kenneth.taylor.dpt@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3205-9280\"))",
  "Description": "Calculates mean cumulative count (MCC) to estimate the\nexpected cumulative number of recurrent events per person over\ntime in the presence of competing risks and censoring.\nImplements both the Dong-Yasui equation method and sum of\ncumulative incidence method described in Dong, et al. (2015)\n<doi:10.1093/aje/kwu289>. Supports inverse probability\nweighting for causal inference as outlined in Gaber, et al.\n(2023) <doi:10.1093/aje/kwad031>. Provides S3 methods for\nprinting, summarizing, plotting, and extracting results.\nHandles grouped analyses and integrates with 'ggplot2'\n<https://ggplot2.tidyverse.org/> for visualization.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/KennethATaylor/mccount,\nhttps://kennethataylor.github.io/mccount/",
  "BugReports": "https://github.com/KennethATaylor/mccount/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/Needs/website": "rmarkdown",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://kennethataylor.r-universe.dev",
  "Date/Publication": "2025-11-14 14:01:35 UTC",
  "RemoteUrl": "https://github.com/kennethataylor/mccount",
  "RemoteRef": "HEAD",
  "RemoteSha": "e2222cbf5c2942fa42709a53d3083a36d6520226",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 07:59:53 UTC",
    "User": "root"
  },
  "Author": "Kenneth A. Taylor [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3205-9280>)",
  "Maintainer": "Kenneth A. Taylor <kenneth.taylor.dpt@gmail.com>",
  "MD5sum": "eb70356637fd3fa425ae7df2aa4ae400",
  "_user": "kennethataylor",
  "_type": "src",
  "_file": "mccount_0.1.1.9000.tar.gz",
  "_fileid": "ef201c7db4976767c0b6939ad51623a743580c960eb956ea2448731f8d8f0b66",
  "_filesize": 1489605,
  "_sha256": "ef201c7db4976767c0b6939ad51623a743580c960eb956ea2448731f8d8f0b66",
  "_created": "2026-05-13T07:59:53.000Z",
  "_published": "2026-05-22T09:57:17.666Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77357090076,
      "time": 204,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964693962"
    },
    {
      "job": 77357090056,
      "time": 218,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964699449"
    },
    {
      "job": 77357090457,
      "time": 270,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964700741"
    },
    {
      "job": 77357090095,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964668432"
    },
    {
      "job": 77357089509,
      "time": 200,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964627869"
    },
    {
      "job": 77357089634,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157787438"
    },
    {
      "job": 77357090087,
      "time": 136,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964673283"
    },
    {
      "job": 77357090355,
      "time": 141,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964674568"
    },
    {
      "job": 77357090080,
      "time": 128,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964669873"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kennethataylor/mccount",
  "_commit": {
    "id": "e2222cbf5c2942fa42709a53d3083a36d6520226",
    "author": "Ken Taylor <kenneth.taylor.dpt@gmail.com>",
    "committer": "Ken Taylor <kenneth.taylor.dpt@gmail.com>",
    "message": "Minor edits to vignette\n",
    "time": 1763128895
  },
  "_maintainer": {
    "name": "Kenneth A. Taylor",
    "email": "kenneth.taylor.dpt@gmail.com",
    "login": "kennethataylor",
    "orcid": "0000-0002-3205-9280",
    "uuid": 110407869
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cards",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "cmprsk",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MatchIt",
      "role": "Suggests"
    },
    {
      "package": "mstate",
      "role": "Suggests"
    },
    {
      "package": "optmatch",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "WeightIt",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "kennethataylor",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-20",
      "n": 6
    },
    {
      "week": "2025-21",
      "n": 19
    },
    {
      "week": "2025-22",
      "n": 2
    },
    {
      "week": "2025-23",
      "n": 7
    },
    {
      "week": "2025-34",
      "n": 6
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 7
    },
    {
      "week": "2025-46",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2025-11-10"
    }
  ],
  "_topics": [
    "biostatistics",
    "censoring-events",
    "competing-risks",
    "epidemiology",
    "mean-cumulative-count",
    "mean-cumulative-function",
    "recurrent-events"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "kennethataylor",
      "count": 106,
      "uuid": 110407869
    }
  ],
  "_userbio": {
    "uuid": 110407869,
    "type": "user",
    "name": "Ken Taylor"
  },
  "_downloads": {
    "count": 171,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mccount"
  },
  "_devurl": "https://github.com/kennethataylor/mccount",
  "_pkgdown": "https://kennethataylor.github.io/mccount/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mccount.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kennethataylor/mccount",
  "_realowner": "kennethataylor",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-11-13"
    }
  ],
  "_exports": [
    "as_mcc",
    "compare_mcc",
    "filter_mcc",
    "geom_line_mcc",
    "is_grouped",
    "is_mcc",
    "is_weighted",
    "mcc",
    "mcc_details",
    "mcc_estimates",
    "mcc_final_values",
    "mcc_grouping_var",
    "mcc_groups",
    "mcc_method"
  ],
  "_help": [
    {
      "page": "as_mcc",
      "title": "Convert objects to 'mcc' class",
      "topics": [
        "as_mcc"
      ]
    },
    {
      "page": "as.data.frame.mcc",
      "title": "Convert 'mcc' object to data.frame",
      "topics": [
        "as.data.frame.mcc"
      ]
    },
    {
      "page": "autoplot.mcc",
      "title": "Auto-plot method for 'mcc' objects",
      "topics": [
        "autoplot.mcc"
      ]
    },
    {
      "page": "compare_mcc",
      "title": "Compare 'mcc' objects",
      "topics": [
        "compare_mcc"
      ]
    },
    {
      "page": "filter_mcc",
      "title": "Filter 'mcc' object by groups",
      "topics": [
        "filter_mcc"
      ]
    },
    {
      "page": "geom_line_mcc",
      "title": "Add Reference Lines at an MCC Threshold to ggplot2 Objects",
      "topics": [
        "geom_line_mcc"
      ]
    },
    {
      "page": "is_grouped",
      "title": "Check if 'mcc' object is from grouped analysis",
      "topics": [
        "is_grouped"
      ]
    },
    {
      "page": "is_mcc",
      "title": "Check if object is an 'mcc' result",
      "topics": [
        "is_mcc"
      ]
    },
    {
      "page": "is_weighted",
      "title": "Check if 'mcc' object uses weighted estimation",
      "topics": [
        "is_weighted"
      ]
    },
    {
      "page": "mcc",
      "title": "Calculate Mean Cumulative Count (MCC)",
      "topics": [
        "mcc"
      ]
    },
    {
      "page": "mcc_details",
      "title": "Extract calculation details from 'mcc' objects",
      "topics": [
        "mcc_details"
      ]
    },
    {
      "page": "mcc_estimates",
      "title": "Extract MCC estimates from 'mcc' objects",
      "topics": [
        "mcc_estimates"
      ]
    },
    {
      "page": "mcc_final_values",
      "title": "Get final MCC value for each group",
      "topics": [
        "mcc_final_values"
      ]
    },
    {
      "page": "mcc_grouping_var",
      "title": "Get grouping variable name from grouped 'mcc' object",
      "topics": [
        "mcc_grouping_var"
      ]
    },
    {
      "page": "mcc_groups",
      "title": "Extract unique groups from grouped 'mcc' object",
      "topics": [
        "mcc_groups"
      ]
    },
    {
      "page": "mcc_method",
      "title": "Get the method used for MCC calculation",
      "topics": [
        "mcc_method"
      ]
    },
    {
      "page": "plot.mcc",
      "title": "Plot MCC results",
      "topics": [
        "plot.mcc"
      ]
    },
    {
      "page": "print.mcc",
      "title": "Print method for 'mcc' objects",
      "topics": [
        "print.mcc"
      ]
    },
    {
      "page": "print.mcc_comparison",
      "title": "Print method for MCC comparison objects",
      "topics": [
        "print.mcc_comparison"
      ]
    },
    {
      "page": "print.summary.mcc",
      "title": "Print method for 'mcc' summary objects",
      "topics": [
        "print.summary.mcc"
      ]
    },
    {
      "page": "summary.mcc",
      "title": "Summary method for 'mcc' objects",
      "topics": [
        "summary.mcc"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kennethataylor/mccount/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/kennethataylor/mccount/raw/HEAD/README.md",
  "_rundeps": [
    "cards",
    "cli",
    "cmprsk",
    "cpp11",
    "data.table",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "choosing-between-methods.Rmd",
      "filename": "choosing-between-methods.html",
      "title": "Choosing Between Methods",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Two Approaches, Same Goal",
        "When Methods Are Equivalent",
        "Administrative Censoring Only",
        "Synchronized Event-Interval Censoring",
        "When Methods Differ and Why",
        "When Events Are Exchangeable",
        "When Event Order Matters",
        "Documenting Your Choice",
        "Special Case - Delayed Study Entry",
        "Summary"
      ],
      "created": "2025-09-04 05:38:09",
      "modified": "2025-09-04 05:38:09",
      "commits": 1
    },
    {
      "source": "estimating-mcc-after-matching-or-weighting.Rmd",
      "filename": "estimating-mcc-after-matching-or-weighting.html",
      "title": "Estimating MCC After Matching or Weighting",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "When to Use Weights with MCC",
        "Inverse Probability of Treatment Weighting (IPTW)",
        "Step 1: Estimate Propensity Scores and Create Weights",
        "Step 2: Estimate Weighted MCC",
        "Step 3: Compare Weighted vs Unweighted Results",
        "Propensity Score Matching",
        "Important Note on Matching Weights",
        "Example: 1:1 Nearest Neighbor Matching (No Weights Needed)",
        "Example: Full Matching with Weights",
        "Visualization of Weighted/Matched Results",
        "Key Interpretation Points",
        "Causal vs Descriptive Interpretation",
        "Assumptions",
        "Stabilized vs Unstabilized Weights",
        "Not Covered",
        "Summary"
      ],
      "created": "2025-11-04 18:56:31",
      "modified": "2025-11-14 14:01:35",
      "commits": 2
    }
  ],
  "_score": 5.204119982655925,
  "_indexed": true,
  "_nocasepkg": "mccount",
  "_universes": [
    "kennethataylor"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:02:48.000Z",
      "distro": "noble",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "c8c4884801c78879719a2e9fb62fd42b1b4655cfc74eb8d4224c583301ad19e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:03:02.000Z",
      "distro": "noble",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "580687c99ce9eb52cea06d02457816a53647272916e02732c00ed989809d76c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:03:08.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "c47f2658a6399e5a196a2938341a68c0d457a49e293d7a27c03c2b03877a7ba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:01:48.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "60e3b118c01ead6ac7683cd9535bf355f87d6ba1d14895858497bb50d1f5b6bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:01:25.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "07b35c48c02a4a6d6bc2d5b4c50826feeff6df0b0617826b4effe8ef064b67a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:01:26.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "4ee186dfe7c3cfff36689101525af26bcd567708c2afbc8f8e7aec8e337b20b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-13T08:01:18.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "10752f5da6df94dc06571105c2c673f1a8d8a81545917ad7bc3329188a04f661",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-05-22T09:57:01.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "fa1896157cb98ab2e4d21eebfcd23b933ee2c0506132385361c855a1c1d051c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/25786135083"
    }
  ]
}