MRAll-class: MRAll Class

MRAll-classR Documentation

MRAll Class

Description

An object containing the estimates produced using the mr_allmethods function.

Slots

Data

The mr_input object that was used as an input to the mr_allmethods function. This includes the original data, so that a call to mr_plot can plot the original data and the various causal estimates.

Values

A data.frame object comprising estimates from the various methods called by the mr_allmethods function. The first column gives the names of the methods, then the causal estimates, standard errors, 95% confidence intervals, and p-values.

Method

A string indicating whether all methods are implemented ("all", the default option), or just main methods ("main"), or only a subset of methods ("ivw", "egger", or "median").


MendelianRandomization documentation built on May 29, 2024, 11:36 a.m.