Flexible Mediation Analysis Using Natural Effect Models

expData | Expanded dataset |

expData-methods | Methods for expanded datasets |

neImpute | Expand the dataset and impute nested counterfactual outcomes |

neImpute.default | Expand the dataset and impute nested counterfactual outcomes |

neImpute.formula | Expand the dataset and impute nested counterfactual outcomes |

neLht | Linear hypotheses for natural effect models |

neLht-methods | Methods for linear hypotheses in natural effect models |

neModel | Fit a natural effect model |

neModel-methods | Methods for natural effect models |

neWeight | Expand the dataset and calculate ratio-of-mediator... |

neWeight.default | Expand the dataset and calculate ratio-of-mediator... |

neWeight.formula | Expand the dataset and calculate ratio-of-mediator... |

plot.neLht | Confidence interval plots for linear hypotheses in natural... |

plot.neModel | Confidence interval plots for natural effect components |

UPBdata | UPB data |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.