autoCovariateSelection
Automated Covariate Selection Using HDPS Algorithm
Description
Contains functions to implement automated covariate selection using methods described in the high-dimensional propensity score (HDPS) algorithm by Schneeweiss et.al. Covariate adjustment in real-world-observational-data (RWD) is important for for estimating adjusted outcomes and this can be done by using methods such as, but not limited to, propensity score matching, propensity score weighting and regression analysis. While these methods strive to statistically adjust for confounding, the major challenge is in selecting the potential covariates that can bias the outcomes comparison estimates in observational RWD (Real-World-Data). This is where the utility of automated covariate selection comes in. The functions in this package help to implement the three major steps of automated covariate selection as described by Schneeweiss et. al elsewhere. These three functions, in order of the steps required to execute automated covariate selection are, get_candidate_covariates(), get_recurrence_covariates() and get_prioritised_covariates(). In addition to these functions, a sample real-world-data from publicly available de-identified medical claims data is also available for running examples and also for further exploration. The original article where the algorithm is described by Schneeweiss et.al. (2009) <doi:10.1097/EDE.0b013e3181a663cc> .
Downloads
363
Last 30 days
10508th
1.2K
Last 90 days
4.2K
Last year
Trend: -5.7% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (16 non-OK)
CRAN incoming feasibility
Maintainer: ‘Dennis Robert <dennis.robert.nm@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Dennis",
family = "Robert",
role = c("aut", "cre"),
email = "dennis.robert.nm@gmail.com")
as necessary.
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
CRAN incoming feasibility
Maintainer: ‘Dennis Robert <dennis.robert.nm@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Dennis",
family = "Robert",
role = c("aut", "cre"),
email = "dennis.robert.nm@gmail.com")
as necessary.
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
checkRd: (-1) get_candidate_covariates.Rd:53: Lost braces
53 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
checkRd: (-1) get_prioritised_covariates.Rd:40: Lost braces
40 | \item \code{multiplicative_bias}{The absolute log of the multiplicative bias term for each of the auto-selected prioritised covariates}
| ^
checkRd: (-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Dennis Robert <dennis.robert.nm@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Dennis",
family = "Robert",
role = c("aut", "cre"),
email = "dennis.robert.nm@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Dennis Robert <dennis.robert.nm@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Dennis",
family = "Robert",
role = c("aut", "cre"),
email = "dennis.robert.nm@gmail.com")
as necessary.
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^
Rd files
checkRd: (-1) get_candidate_covariates.Rd:50: Lost braces
50 | \item \code{covars_data} {The \code{data.frame} that is filtered out of \code{df} with only the selected \code{covars}}. The values of the
| ^
chec
...[truncated]...
(-1) get_recurrence_covariates.Rd:34: Lost braces
34 | \item \code{patientIds} {The list of patient ids present in the original input \code{df}. This is exactly the same as the input \code{patientIdVector}}
| ^