CRAN
DirectEffects 0.2
Estimating Controlled Direct Effects for Explaining Causal Findings
Released Jan 4, 2019 by Matthew Blackwell
Dependencies
glue 1.3.0 sandwich 2.5-0 Formula 1.2-3
A set of functions to estimate the controlled direct effect of treatment fixing a potential mediator to a specific value. Implements the sequential g-estimation estimator described in Vansteelandt (2009)
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>DirectEffects</artifactId> <version>0.2-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:DirectEffects')
Test Results
This package was last tested against Renjin 0.9.2718 on Jan 6, 2019.