MRAll-class {MRZero}R 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").


[Package MRZero version 0.2.0 Index]