Description Usage Arguments Details See Also Examples

Regression weights, residuals and residual plots for expanded datasets.

1 2 3 4 5 6 7 8 9 10 11 |

`object` |
an expanded dataset (of class |

`...` |
additional arguments. |

`weights`

extracts regression weights (to be used in the natural effect model) for each observation of an expanded dataset.

`residuals`

extracts residuals from the working model which is stored as an attribute of the expanded dataset. These can be used to assess normality of the residuals of the mediator working model when using the weighting-based approach (see example).

`residualPlot`

and `residualPlots`

are convenience functions from the car package. These can be used to assess the adequacy of the working model.

`expData`

, `neWeight`

, `residualPlot`

, `residualPlots`

, `residuals`

, `weights`

1 2 3 4 5 6 7 8 9 10 11 12 13 14 |

medflex documentation built on Sept. 15, 2017, 9:03 a.m.

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.