View source: R/benchmarkIncidencePrevalence.R
benchmarkIncidencePrevalence | R Documentation |
Run benchmark of incidence and prevalence analyses
benchmarkIncidencePrevalence(cdm, analysisType = "all")
cdm |
A CDM reference object |
analysisType |
A string of the following: "all", "only incidence", "only prevalence" |
a tibble with time taken for different analyses
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.