Nothing
test_that("population incidence and prevalence", {
testthat::skip_on_cran()
cdm <- IncidencePrevalence::mockIncidencePrevalence(sampleSize = 1000)
cdm <- IncidencePrevalence::generateDenominatorCohortSet(cdm, name = "denom")
expect_no_error(pop_diag_sample <- populationDiagnostics(cohort = cdm$outcome,
populationSample = 250))
expect_no_error(pop_diag_no_sample <- populationDiagnostics(cohort = cdm$outcome,
populationSample = NULL))
expect_error(pop_diag_no_sample <- populationDiagnostics(cohort = cdm$outcome,
populationSample = 1.5))
expect_error(pop_diag_no_sample <- populationDiagnostics(cohort = cdm$outcome,
populationSample = -10))
expect_error(pop_diag_no_sample <- populationDiagnostics(cohort = cdm$outcome,
populationDateRange = "error"))
CDMConnector::cdmDisconnect(cdm)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.