computeCovariateBalance: Compute covariate balance for each comparison

Description Usage Arguments Details

View source: R/CovariateBalance.R

Description

Compute covariate balance for each comparison

Usage

1
2
computeCovariateBalance(indicationId = "Depression", outputFolder,
  maxCores)

Arguments

indicationId

A string denoting the indicationId for which the covariate balance should be computed.

outputFolder

Name of local folder to place results; make sure to use forward slashes (/)

maxCores

How many parallel cores should be used? If more cores are made available this can speed up the analyses.

Details

Compute covariate balance for each comparison. We don't compute balance for every TCO, as this would be prohibitively large. Instead, we compute balance considering the entire target and comparator cohort, so not removing subjects with prior outcomes. We do compute covariate balance for every TCO for a small subset of covariates of interest (those used in the typical table 1). Stores the results in a subfolder called 'balance'.


OHDSI/Legend documentation built on Dec. 29, 2020, 3:52 a.m.