Plots the self controlled case series results for one analysis
Source:R/EstimationPlots.R
plotSccsEstimates.RdCreates nice self controlled case series plots
See also
Other Estimation:
getCMEstimation(),
getCmDiagnosticsData(),
getCmMetaEstimation(),
getCmNegativeControlEstimates(),
getCmOutcomes(),
getCmPropensityModel(),
getCmTable(),
getCmTargets(),
getSccsDiagnosticsData(),
getSccsEstimation(),
getSccsMetaEstimation(),
getSccsModel(),
getSccsNegativeControlEstimates(),
getSccsOutcomes(),
getSccsTable(),
getSccsTargets(),
getSccsTimeToEvent(),
plotCmEstimates()
Examples
conDet <- getExampleConnectionDetails()
connectionHandler <- ResultModelManager::ConnectionHandler$new(conDet)
#> Connecting using SQLite driver
sccsEst <- getSccsEstimation(
connectionHandler = connectionHandler,
schema = 'main',
targetIds = 1,
outcomeIds = 3
)
plotSccsEstimates(
sccsData = sccsEst,
sccsMeta = NULL,
targetName = 'target',
selectedAnalysisId = 1
)
#> Warning: lower bound is zero - can not use log scale