R package citation, R package reverse dependencies, R package scholars, install an r package from GitHub hy is package acceptance pending why is package undeliverable amazon why is package on hold dhl tour packages why in r package r and r package full form why is r free why r is bad which r package to install which r package has which r package which r package version which r package readxl which r package ggplot which r package fread which r package license where is package.json where is package-lock.json where is package.swift where is package explorer in eclipse where is package where is package manager unity where is package installer android where is package manager console in visual studio who r package which r package to install which r package version who is package who is package deal who is package design r and r package full form r and r package meaning what r package has what package r what is package in java what is package what is package-lock.json what is package in python what is package.json what is package installer do r package can't install r packages r can't find package r can't load package can't load xlsx package r can't install psych package r can't install sf package r Write if else in NONMEM pk pd
twangMediation
View on CRAN: Click
here
Download and install twangMediation package within the R console
Install from CRAN:
install.packages("twangMediation")
Install from Github:
library("remotes")
install_github("cran/twangMediation")
Install by package version:
library("remotes")
install_version("twangMediation", "1.2")
Attach the package and use:
library("twangMediation")
Maintained by
Dan McCaffrey
[Scholar Profile | Author Map]
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-07-27
Latest Update: 2022-08-16
Description:
Provides functions for estimating natural direct and indirect effects for mediation analysis. It uses weighting where the weights are functions of estimates of the probability of exposure or treatment assignment (Hong, G (2010). <https://cepa.stanford.edu/sites/default/files/workshops/GH_JSM%20Proceedings%202010.pdf> Huber, M. (2014). <doi:10.1002/jae.2341>). Estimation of probabilities can use generalized boosting or logistic regression. Additional functions provide diagnostics of the model fit and weights. The vignette provides details and examples.
How to cite:
Dan McCaffrey (2021). twangMediation: Twang Causal Mediation Modeling via Weighting. R package version 1.2, https://cran.r-project.org/web/packages/twangMediation. Accessed 09 Jun. 2025.
Other packages that cited twangMediation R package
View twangMediation citation profile
Other R packages that twangMediation depends,
imports, suggests or enhances
Complete documentation for twangMediation
Functions, R codes and Examples using
the twangMediation R package
Some associated functions: NSDUH_female . bal.table.mediation . calculate_effects . check_missing . desc.effects.mediation . desc.effects . dx.wts.mediation . plot.mediation . print.bal.table.mediation . print.mediation . summary.mediation . swapTxCtrl . tMdat . twangMediation-package . weighted_mean . wgtmed .
Some associated R codes: bal.table.mediation.R . data.R . desc.effects.R . desc.effects.mediation.R . diag.plot.color.R . dx.wts.mediation.R . makePlotDat.R . plot.mediation.R . print.bal.table.mediation.R . print.mediation.R . summary.mediation.R . twangMediation-package.R . twang_functions.R . utils_mediation.R . vignettename.R . wgtmed.R . Full twangMediation package functions and examples
Downloads during the last 30 days
Today's Hot Picks in Authors and Packages
TrackReconstruction
Reconstructs animal tracks from magnetometer, accelerometer, depth and optional speed data.Designed ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Brian Battaile (view profile)
cancerGI
Functions to perform the following analyses: i) inferring epistasis from RNAi double knockdown data; ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Audrey Q. Fu (view profile)
KRIS
Provides useful functions which are needed for bioinformatic analysis such as calculating linear pri ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Kridsadakorn Chaichoompu (view profile)
r2resize
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
ggfx
Provides a range of filters that can be applied to layers from the
'ggplot2' package and its extens ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Thomas Lin Pedersen (view profile)
free
Unified regularized estimating equation solver. Currently the package includes one solver with the l ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Yi Lian (view profile)
24,407
R Packages
207,311
Dependencies
65,910
Author Associations
24,331
Publication Badges
