{
  "_id": "6ad9efdf343c88418cb719be",
  "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-10-22 10:47:13 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>",
  "_user": "kennethataylor",
  "_type": "src",
  "_file": "mccount_0.1.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/0a3188f74bf08010c1b807b6446c13bc61ba7e48d3c273d61e8565aa09d68013",
  "_filesize": 1487733,
  "_sha256": "0a3188f74bf08010c1b807b6446c13bc61ba7e48d3c273d61e8565aa09d68013",
  "_expires": "2027-01-30T11:13:33.000Z",
  "_created": "2026-10-22T10:47:13.000Z",
  "_published": "2026-10-22T11:13:35.052Z",
  "_upstream": "https://github.com/kennethataylor/mccount",
  "_status": "success",
  "_maintainer": {
    "name": "Kenneth A. Taylor",
    "email": "kenneth.taylor.dpt@gmail.com",
    "login": "kennethataylor",
    "orcid": "0000-0002-3205-9280",
    "description": "",
    "uuid": 110407869
  },
  "_jobs": [
    {
      "job": 119780588322,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12419739263"
    },
    {
      "job": 119780588360,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12420382090"
    },
    {
      "job": 119780588226,
      "time": 199,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12421048004"
    },
    {
      "job": 119780588291,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": ""
    },
    {
      "job": 119777869454,
      "time": 392,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12420032459"
    },
    {
      "job": 119780588239,
      "time": 181,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12420770528"
    },
    {
      "job": 119780588276,
      "time": 91,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12420016819"
    },
    {
      "job": 119780588358,
      "time": 112,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12420600736"
    },
    {
      "job": 119780588392,
      "time": 174,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12419548225"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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-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",
    "followers": 9
  },
  "_downloads": {
    "count": 239,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mccount.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "mccount",
  "_universes": [
    "kennethataylor"
  ],
  "_binaries": [
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-09-22T11:30:26.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/094b23c7c2b537527b7c52e3fbfe3e02f6625507cffd1e832815798b691e68bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/35721259112"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-10-22T10:49:17.000Z",
      "distro": "resolute",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/25eda9310b1eb88b43f3a9e0787a35eea89668690129086175a6c990b3f06419",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-10-22T10:49:41.000Z",
      "distro": "resolute",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/b64070b6b535c340c82e2bb6d1a5d2157359c7e5d3cdb65b5715586c61f274da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-10-22T11:12:06.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/dd6aedfa63184c44d3430038ee7ecee837a47b8cb19bc2e1671f1255d28587bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-10-22T10:50:29.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/3b88a3c8596b8225da9b0600e07d2d056b2db14087d72b90c050b94e64a448f1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-10-22T10:48:22.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/34d670477743066a02f3b129a6b23f698648bcbbe3f4fbfa541b92f502bf3fde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-10-22T10:48:20.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/cb823ac44ffd6fa949bd554c542dfcef729e17be908d76b11874176c5186ad5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-10-22T10:49:30.000Z",
      "commit": "e2222cbf5c2942fa42709a53d3083a36d6520226",
      "fileid": "https://r2.ropensci.org/95d85ef9314e845f0a1e4ac60b1f3495455bf802afc6997ab2ad92e87a320ff3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kennethataylor/actions/runs/39764885277"
    }
  ]
}