Package: CohortMethod 6.0.2
CohortMethod: Comparative Cohort Method with Large Scale Propensity and Outcome Models
Functions for performing comparative cohort studies in an observational database in the Observational Medical Outcomes Partnership (OMOP) Common Data Model. Can extract all necessary data from a database. This implements large-scale propensity scores (LSPS) as described in Tian et al. (2018) <doi:10.1093/ije/dyy120>, using a large set of covariates, including for example all drugs, diagnoses, procedures, as well as age, comorbidity indexes, etc. Large scale regularized regression is used to fit the propensity and outcome models as described in Suchard et al. (2013) <doi:10.1145/2414416.2414791>. Functions are included for trimming, stratifying, (variable and fixed ratio) matching and weighting by propensity scores, as well as diagnostic functions, such as propensity score distribution plots and plots showing covariate balance before and after matching and/or trimming. Supported outcome models are (conditional) logistic regression, (conditional) Poisson regression, and (stratified) Cox regression. Also included are Kaplan-Meier plots that can adjust for the stratification or matching.
Authors:
CohortMethod_6.0.2.tar.gz
CohortMethod_6.0.2.tar.gz(r-4.7-arm64)CohortMethod_6.0.2.tar.gz(r-4.7-x86_64)CohortMethod_6.0.2.tar.gz(r-4.6-arm64)CohortMethod_6.0.2.tar.gz(r-4.6-x86_64)
CohortMethod_6.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
CohortMethod/json (API)
NEWS
| # Install 'CohortMethod' in R: |
| install.packages('CohortMethod', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ohdsi/cohortmethod/issues
Pkgdown/docs site:https://ohdsi.github.io
- cohortMethodDataSimulationProfile - A simulation profile
Last updated from:9e61f513e4. Checks:4 WARNING, 2 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | WARNING | 409 | ||
| linux-devel-x86_64 | WARNING | 459 | ||
| source / vignettes | OK | 281 | ||
| linux-release-arm64 | WARNING | 452 | ||
| linux-release-x86_64 | WARNING | 423 | ||
| wasm-release | OK | 166 |
Exports:adjustedKmcheckCmInstallationcomputeCovariateBalancecomputeEquipoisecomputeMdrrcomputePsAucconvertUntypedListToCmAnalysesSpecificationscreateCmAnalysesSpecificationscreateCmAnalysiscreateCmDiagnosticThresholdscreateCmTable1createCohortMethodDataSimulationProfilecreateComputeCovariateBalanceArgscreateCreatePsArgscreateCreateStudyPopulationArgscreateDefaultMultiThreadingSettingscreateFitOutcomeModelArgscreateGetDbCohortMethodDataArgscreateMatchOnPsArgscreateMultiThreadingSettingscreateOutcomecreatePscreateResultsDataModelcreateStratifyByPsArgscreateStudyPopulationcreateTargetComparatorOutcomescreateTrimByPsArgscreateTruncateIptwArgsdrawAttritionDiagramexportToCsvfitOutcomeModelgetAttritionTablegetDataMigratorgetDbCohortMethodDatagetDefaultCmTable1SpecificationsgetDiagnosticsSummarygetFileReferencegetFollowUpDistributiongetGeneralizabilityTablegetInteractionResultsSummarygetOutcomeModelgetPsModelgetResultsDataModelSpecificationsgetResultsSummaryisCohortMethodDataloadCmAnalysisListloadCohortMethodDataloadTargetComparatorOutcomesListmatchOnPsmigrateDataModelplotCovariateBalanceOfTopVariablesplotCovariateBalanceScatterPlotplotCovariatePrevalenceplotFollowUpDistributionplotKaplanMeierplotPsplotTimeToEventrunCmAnalysessaveCmAnalysisListsaveCohortMethodDatasaveTargetComparatorOutcomesListshowsimulateCohortMethodDatastratifyByPssummarytrimByPstruncateIptwuploadResults
Dependencies:Andromedabackportsbitbit64blobcachemcheckmateclicliprcpp11crayonCyclopsDatabaseConnectorDBIdbplyrdigestdplyrduckdbEmpiricalCalibrationfarverfastmapFeatureExtractiongenericsggplot2gluegridExtragtablehmsisobandjsonlitelabelinglatticelifecyclemagrittrMatrixmemoisememuseParallelLoggerpillarpkgconfigplyrprettyunitsprogresspurrrR6RColorBrewerRcppRcppEigenreadrrJavarlangRSQLiterstudioapiS7scalessnowSqlRenderstringistringrsurvivaltibbletidyrtidyselecttriebeardtzdburltoolsutf8vctrsviridisLitevroomwithrxml2zip
Running multiple analyses at once using the CohortMethod package
Rendered fromMultipleAnalyses.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2026-03-21
Started: 2026-03-21
Results schema of the CohortMethod package
Rendered fromResultsSchema.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2026-03-21
Started: 2026-03-21
Single studies using the CohortMethod package
Rendered fromSingleStudies.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2026-03-21
Started: 2026-03-21
