Description Usage Arguments Value Examples

Calculate risk difference and 95 percent confidence interval using Wald method.

1 |

`df` |
a dataframe with binary variables x and y or a 2 x 2 frequency table/matrix. If a table or matrix, x and y must be NULL. Used to select method. |

`...` |
further arguments passed to or from other methods. |

a list with class "rdiff" containing the following components:

`rd` |
risk difference |

`conf.level` |
specified confidence level |

`ci` |
calculated confidence interval |

`p1` |
proportion one |

`p2` |
proportion two |

`tab` |
2x2 table using for calculating risk difference |

1 2 3 4 5 6 |

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.