The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

SelfControlledCohort

Build Status codecov.io

SelfControlledCohort is part of HADES.

Introduction

This package provides a method to estimate risk by comparing time exposed with time unexposed among the exposed cohort.

Features

Example

library(SelfControlledCohort)

connectionDetails <- createConnectionDetails(dbms = "postgresql",
                                             user = "joe",
                                             password = "secret",
                                             server = "myserver")
                                             
sccResults <- runSelfControlledCohort(connectionDetails,
                                     cdmDatabaseSchema = "cdm_data",
                                     exposureIds = c(767410, 1314924, 907879),
                                     outcomeIds = 444382,
                                     outcomeTable = "condition_era")

summary(sccResults)

Technology

SelfControlledCohort is an R package.

System Requirements

Requires R. Libraries used in SelfControlledCohort require Java.

Getting Started

  1. See the instructions here for configuring your R environment, including Java.

  2. In R, use the following commands to download and install SelfControlledCohort:

install.packages("remotes")
remotes::install_github("ohdsi/SelfControlledCohort")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available: * Package manual: SelfControlledCohort.pdf

Support

Contributing

Read here how you can contribute to this package.

License

SelfControlledCohort is licensed under Apache License 2.0

Development

SelfControlledCohort is being developed in R Studio.

Development status

Beta

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.
Health stats visible at Monitor.