View source: R/matchedDiagnostics.R
matchedDiagnostics | R Documentation |
A summary of the cohort that is matched to the original cohort that has been given by the user. Such summary contains basic cohort summary including number of visits within one year prior of the cohort_start_date, as well as a large scale charactersitics using the following domians of OMOP CDM:
* condition_occurrence * visit_occurrence * measurement * procedure_occurrence * observation * drug_exposure
matchedDiagnostics(cohort, matchedSample = 1000)
cohort |
Cohort table in a cdm reference |
matchedSample |
The number of people to take a random sample for matching. If NULL, no sampling will be performed. |
A summarised result
library(PhenotypeR)
cdm <- mockPhenotypeR()
result <- matchedDiagnostics(cdm$my_cohort)
CDMConnector::cdmDisconnect(cdm = cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.