All functions

createCohortTimeSeriesArgs()

Create a parameter object for the function getCohortTimeSeriesData

createOcpArgs()

Create a parameter object for the function createOcpModel

createOcpModel()

Create a Bayesian Online Changepoint model

createSegmentedArgs()

Create a parameter object for the function createSegmentedModel

createSegmentedModel()

Create a segmented linear model

createTsAnalysis()

Create a TimeSeries analysis specification

drugData

Sample drug data for using the change detection time series methods

executeTimeSeriesAnalyses()

Extracts the time series data and runs the time series analyses on all (or a subset of) the cohorts. This function assumes the cohorts have already been generated using the OHDSI CohortGenerator package

getCohortTimeSeriesData()

Retrieve time series data for one or more cohorts

launchShinyApp()

Launches the Shiny results viewer

plotOcp()

Plots time series data with change points computed by the ocp package

plotSegmented()

Plots time series data with change points computed with a segmented generalized linear model

plotTimeSeries()

Plots time series data

runTsAnalyses()

Run the time series analyses for the selected time series data set