benchmarkIncidencePrevalence {IncidencePrevalence}R Documentation

Run benchmark of incidence and prevalence analyses

Description

Run benchmark of incidence and prevalence analyses

Usage

benchmarkIncidencePrevalence(cdm, analysisType = "all")

Arguments

cdm

A CDM reference object

analysisType

A string of the following: "all", "only incidence", "only prevalence"

Value

a tibble with time taken for different analyses

Examples


cdm <- mockIncidencePrevalence(
  sampleSize = 100,
  earliestObservationStartDate = as.Date("2010-01-01"),
  latestObservationStartDate = as.Date("2010-01-01"),
  minDaysToObservationEnd = 364,
  maxDaysToObservationEnd = 364,
  outPre = 0.1
)

timings <- benchmarkIncidencePrevalence(cdm)


[Package IncidencePrevalence version 1.2.1 Index]