{
  "_id": "6a1d438f1d7bb097a0a4193e",
  "Package": "prevtoinc",
  "Title": "Prevalence to Incidence Calculations for Point-Prevalence\nStudies in a Nosocomial Setting",
  "Version": "0.12.0",
  "Authors@R": "person(\"Niklas\", \"Willrich\", email = \"WillrichN@rki.de\", role = c(\"aut\", \"cre\"))",
  "Author": "Niklas Willrich [aut, cre]",
  "Maintainer": "Niklas Willrich <WillrichN@rki.de>",
  "Description": "Functions to simulate point prevalence studies (PPSs) of\nhealthcare-associated infections (HAIs) and to convert\nprevalence to incidence in steady state setups. Companion\npackage to the preprint Willrich et al., From prevalence to\nincidence - a new approach in the hospital setting;\n<doi:10.1101/554725> , where methods are explained in detail.",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 08:29:17 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2019-06-18 12:50:04 UTC",
  "RemoteUrl": "https://github.com/cran/prevtoinc",
  "RemoteRef": "HEAD",
  "RemoteSha": "abbb8c0e5777714f5676354c052627602746f164",
  "MD5sum": "254166b84ed0a8c37cebf7ada0646d2e",
  "_user": "cran",
  "_type": "src",
  "_file": "prevtoinc_0.12.0.tar.gz",
  "_fileid": "d1fc06ad20a2d16a3fcdcef1e710b2811f286faf830f8b1000acf44e88e0f1f5",
  "_filesize": 329020,
  "_sha256": "d1fc06ad20a2d16a3fcdcef1e710b2811f286faf830f8b1000acf44e88e0f1f5",
  "_created": "2026-06-01T08:29:17.000Z",
  "_published": "2026-06-01T08:32:15.241Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78814336249,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7326821507"
    },
    {
      "job": 78814336281,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7326824445"
    },
    {
      "job": 78813867273,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326777690"
    },
    {
      "job": 78814336260,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326816385"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26743725411",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/prevtoinc",
  "_commit": {
    "id": "abbb8c0e5777714f5676354c052627602746f164",
    "author": "Niklas Willrich <WillrichN@rki.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.12.0\n",
    "time": 1560862204
  },
  "_maintainer": {
    "name": "Niklas Willrich",
    "email": "willrichn@rki.de"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.2",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/prevtoinc"
  },
  "_searchresults": 20,
  "_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/prevtoinc.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.11.0",
      "date": "2019-03-10"
    },
    {
      "version": "0.12.0",
      "date": "2019-06-18"
    }
  ],
  "_exports": [
    "A_to_X_dist",
    "calculate_CI_I_pp",
    "calculate_I",
    "calculate_I_mixed",
    "calculate_I_rhame",
    "calculate_I_smooth",
    "CI_np_bs",
    "create_dist_vec",
    "create_patient_history_add",
    "epmf",
    "generate_I_fast",
    "geom_dist_fct",
    "length_biased_dist",
    "length_unbiased_mean",
    "monotone_smoother",
    "pois_dist_fct",
    "simulate_incidence_stats",
    "simulate_incidence_stats_fast",
    "simulate_pps_data",
    "simulate_pps_fast",
    "X_to_A_dist"
  ],
  "_help": [
    {
      "page": "A_to_X_dist",
      "title": "function to transform the distribution of stays to a fixed point to the distribution of the staying times",
      "topics": [
        "A_to_X_dist"
      ]
    },
    {
      "page": "calculate_CI_I_pp",
      "title": "Calculate confidence intervals for Grenander estimator of Ipp based on asymptotics",
      "topics": [
        "calculate_CI_I_pp"
      ]
    },
    {
      "page": "calculate_I",
      "title": "Function to calculate different estimators for I from PPS data.",
      "topics": [
        "calculate_I"
      ]
    },
    {
      "page": "calculate_I_mixed",
      "title": "Function to calculate incidence from PPS data using a mix of two estimators",
      "topics": [
        "calculate_I_mixed"
      ]
    },
    {
      "page": "calculate_I_rhame",
      "title": "Function to calculate incidence from PPS data using a Rhame-Sudderth like approach with estimates for x.loi and x.los supplied.",
      "topics": [
        "calculate_I_rhame"
      ]
    },
    {
      "page": "calculate_I_smooth",
      "title": "Estimate the incidence based on PPS data using monotone estimators for the distribution of A.",
      "topics": [
        "calculate_I_smooth"
      ]
    },
    {
      "page": "CI_np_bs",
      "title": "Function to calculate confidence intervals I.pp for gren estimator with bootstrap method based on Grenander estimator",
      "topics": [
        "CI_np_bs"
      ]
    },
    {
      "page": "create_dist_vec",
      "title": "Create vector of probabilities for a finite positive discrete distribution",
      "topics": [
        "create_dist_vec"
      ]
    },
    {
      "page": "create_patient_history_add",
      "title": "Function to simulate a single hospital bed trajectory",
      "topics": [
        "create_patient_history_add"
      ]
    },
    {
      "page": "epmf",
      "title": "Calculate empirical probability mass function for a discrete positive distribution starting at 1",
      "topics": [
        "epmf"
      ]
    },
    {
      "page": "generate_I_fast",
      "title": "Function to simulate PPS and data and calculate a number of estimators",
      "topics": [
        "generate_I_fast"
      ]
    },
    {
      "page": "geom_dist_fct",
      "title": "Probability mass function for a geometric distribution shifted by one and resulting expected value 8",
      "topics": [
        "geom_dist_fct"
      ]
    },
    {
      "page": "length_biased_dist",
      "title": "Calculate length-biased distribution from discrete length-unbiased distribution starting at 1",
      "topics": [
        "length_biased_dist"
      ]
    },
    {
      "page": "length_unbiased_mean",
      "title": "Calculate mean of length-unbiased distribution from discrete length-biased distribution starting at 1",
      "topics": [
        "length_unbiased_mean"
      ]
    },
    {
      "page": "monotone_smoother",
      "title": "Calculate a monotone probability mass function estimate",
      "topics": [
        "monotone_smoother"
      ]
    },
    {
      "page": "pois_dist_fct",
      "title": "Probability mass function for a Poisson distribution shifted by one and resulting expected value 8",
      "topics": [
        "pois_dist_fct"
      ]
    },
    {
      "page": "prevtoinc",
      "title": "prevtoinc:",
      "topics": [
        "prevtoinc-package",
        "prevtoinc"
      ]
    },
    {
      "page": "simulate_incidence_stats",
      "title": "Calculate theoretical values like x.los, x.loi and other characteristics of the patient population",
      "topics": [
        "simulate_incidence_stats"
      ]
    },
    {
      "page": "simulate_incidence_stats_fast",
      "title": "Function to calculate theoretical value for x.loi and I",
      "topics": [
        "simulate_incidence_stats_fast"
      ]
    },
    {
      "page": "simulate_pps_data",
      "title": "Function to simulate PPS data",
      "topics": [
        "simulate_pps_data"
      ]
    },
    {
      "page": "simulate_pps_fast",
      "title": "Faster method to generate data for PPS with only length of nosocomial infections as output",
      "topics": [
        "simulate_pps_fast"
      ]
    },
    {
      "page": "X_to_A_dist",
      "title": "Transform a distribution of times of stay to a distribution of staying-time up to observation point under assumption of steady state.",
      "topics": [
        "X_to_A_dist"
      ]
    }
  ],
  "_readme": "https://github.com/cran/prevtoinc/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "prevtoinc_vignette.Rmd",
      "filename": "prevtoinc_vignette.html",
      "title": "Overview of the prevtoinc package",
      "author": "Niklas Willrich",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The basic structure of the package",
        "Simulating PPS data",
        "Simulating a PPS",
        "Extended simulation method",
        "Modelling assumptions",
        "Simulation environment",
        "Estimating incidence from PPS data",
        "The new estimator",
        "Confidence intervals for the new estimator",
        "Other estimators",
        "Helper functions",
        "References"
      ],
      "created": "2019-03-10 07:30:02",
      "modified": "2019-06-18 12:50:04",
      "commits": 2
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "prevtoinc",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-06-01T08:31:26.000Z",
      "distro": "noble",
      "commit": "abbb8c0e5777714f5676354c052627602746f164",
      "fileid": "c2a3ecd4f6831130a28ef77d913f62aa8b4439f7493c2bd2c7cedc2be4e11f8f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26743725411"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-06-01T08:31:31.000Z",
      "distro": "noble",
      "commit": "abbb8c0e5777714f5676354c052627602746f164",
      "fileid": "22904419eaa8ed36750852c99a139464b224fb62fc65efb8747de7123e403e98",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26743725411"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.12.0",
      "date": "2026-06-01T08:31:32.000Z",
      "commit": "abbb8c0e5777714f5676354c052627602746f164",
      "fileid": "11a95f23c45f06f0702e473dc3b60430cedb97b75a38a6cabacf5b3a01de8794",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26743725411"
    }
  ]
}