The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
This package provides functions to create an incidence or prevalence
plot. There are a couple of options that can be specified when creating
such a plot. In this vignette we are using the options in the
plotIncidence
function, however these same options can be
specified in the plotPrevalence
function.
cdm <- mockIncidencePrevalenceRef(
sampleSize = 10000,
outPre = 0.5
)
cdm <- generateDenominatorCohortSet(
cdm = cdm, name = "denominator",
cohortDateRange = c(as.Date("2008-01-01"), as.Date("2012-01-01")),
sex = c("Male", "Female")
)
#> ℹ Creating denominator cohorts
#> ✔ Cohorts created in 0 min and 4 sec
inc <- estimateIncidence(
cdm = cdm,
denominatorTable = "denominator",
outcomeTable = "outcome",
interval = "years"
)
#> Getting incidence for analysis 1 of 2
#> Getting incidence for analysis 2 of 2
#> Overall time taken: 0 mins and 2 secs
This is the default incidence plot where the plot has been faceted by sex.
This is the previous plot where the dots are connected.
This is the previous plot where the dots are connected but no confidence interval is shown.
This is the previous plot where the subplots are shown on top of each
other. The facetNcols
variable defines the number of
columns of the subplots. In addition we set facetScales
as
“free” so that the axis can vary by facet.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.