Description Usage Arguments Value

View source: R/RDS.compare.proportions.R

Compares the rates of two variables against one another.

1 2 | ```
RDS.compare.two.proportions(data, variables, confidence.level = 0.95,
number.of.bootstrap.samples = 5000, plot = FALSE, seed = 1)
``` |

`data` |
An object of class |

`variables` |
A character vector of column names to select from |

`confidence.level` |
The confidence level for the confidence intervals. The default is 0.95 for 95%. |

`number.of.bootstrap.samples` |
The number of Monte Carlo draws to determine the null distribution of the likelihood ratio statistic. |

`plot` |
Logical, if TRUE then a plot is produces of the null distribution of the likelihood ratio statistic with the observed statistics plotted as a vertical dashed line. |

`seed` |
The value of the random number seed. Preset by default to allow reproducability. |

An object of class `pvalue.table`

containing the cross-tabulation of p-values
for comparing the two classes

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.