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
10.32614/CRAN.package.twangMediation . twangMediation results . twangMediation.pdf . A tutorial for conducting causal mediation analysis with the twangMediation package . twangMediation_1.2.tar.gz . twangMediation_1.2.zip . twangMediation_1.2.zip . twangMediation_1.2.zip . twangMediation_1.2.tgz . twangMediation_1.2.tgz . twangMediation_1.2.tgz . twangMediation_1.2.tgz . twangMediation_1.2.tgz . twangMediation_1.2.tgz . twangMediation archive . https://CRAN.R-project.org/package=twangMediation .
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 11 Apr. 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
extrafrail
Provide estimation and data generation tools for some new multivariate frailty models.
This version ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Diego Gallardo (view profile)
GenAlgo
Defines classes and methods that can be used
to implement genetic algorithms for feature selection. ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Kevin R. Coombes (view profile)
Rwtss
Allows remote access to satellite image time
series provided by the web time series service (WTSS) ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Felipe Souza (view profile)
multIntTestFunc
Provides implementations of functions that can be used to
test multivariate integration routines. T ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Klaus Herrmann (view profile)
quickcode
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
24,012
R Packages
207,311
Dependencies
64,867
Author Associations
24,013
Publication Badges
