Description Usage Arguments Details Value

The Monte-Carlo chi-square test

1 |

`x` |
the first variable (vector of values) |

`y` |
the second variable (vector of values) |

`C` |
the variables to condition on - either a vector, or a list of vectors |

`B` |
the number of Monte Carlo runs (defaults to 5000 if given NULL) |

This is the reimplementation of Monte Carlo chi-square test to be sure
it works correctly. The Monte Carlo loop is implemented using `Rcpp`

and uses
the R function `r2dtable()`

to generate random contingency tables with
fixed marginals.

the P-value of the test

ddgraph documentation built on May 20, 2017, 9:55 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.