Learn R Programming

LocalControl

Introduction

LocalControl is an R package implementing novel nonparametric approaches to address biases and confounding when comparing treatments or exposures in observational studies of outcomes.

See R help pages for examples on how to run each of the package functions.

Getting Involved

Building considerations for CRAN

Given we have a large manual, building a compressed pdf of the vignette may be required to not have the submission rejected. Within RStudio this can be done via:

devtools::build(args = c('--compact-vignettes=both'))

License

LocalControl is licensed under Apache License 2.0

Copy Link

Version

Install

install.packages('LocalControl')

Monthly Downloads

260

Version

1.1.4

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Christophe G. Lambert

Last Published

September 4th, 2024

Functions in LocalControl (1.1.4)

UPSLTDdist

Plot the LTD distribution as a function of the number of clusters.
cardSim

Simulated cardiac medication data for survival analysis
UPSaltdd

Artificial Distribution of LTDs from Random Clusters
UPSgraph

Display Sensitivity Analysis Graphic in Unsupervised Propensiy Scoring
UPSaccum

Prepare for Accumulation of (Outcome,Treatment) Results in Unsupervised Propensity Scoring
UPSboxplot

Returns a series of boxplots comparing LTD distributions given different numbers of clusters.
UPSivadj

Instrumental Variable LATE Linear Fitting in Unsupervised Propensiy Scoring
UPSnnltd

Nearest Neighbor Distribution of LTDs in Unsupervised Propensiy Scoring
framingham

Framingham heart study data extract on smoking and hypertension.
plot.LocalControlCR

Plot cumulative incidence functions (CIFs) from Local Control.
lindner

Lindner Center for Research and Education study on Abciximab cost-effectiveness and survival
UPShclus

Hierarchical Clustering of Patients on X-covariates for Unsupervised Propensiy Scoring
plot.LocalControlCS

Plots the local treatment difference as a function of radius for LocalControl.
SPSloess

LOESS Smoothing of Outcome by Treatment in Supervised Propensiy Scoring
LocalControlCompetingRisksConfidence

Calculate confidence intervals around the cumulative incidence functions (CIFs) generated by LocalControl when outcomeType = "survival".
LocalControlNearestNeighborsConfidence

Provides a bootstrapped confidence interval estimate for LocalControl LTDs.
SPSbalan

Test for Within-Bin X-covariate Balance in Supervised Propensiy Scoring
SPSlogit

Propensity Score prediction of Treatment Selection from Patient Baseline X-covariates
LocalControl-deprecated

Deprecated LocalControl functions
LocalControlClassic

Local Control Classic
LocalControl

Local Control
SPSnbins

Change the Number of Bins in Supervised Propensiy Scoring
SPSoutco

Examine Treatment Differences on an Outcome Measure in Supervised Propensiy Scoring