Helper function called for chi.2.exp that also supplies n and craemer's v. Test this vs assocstats in vcd package
| 1 2 | 
| x | Data frame | 
| y | R object that x will be compared to | 
| correct | Logical that applies Yates continuity correction | 
| p | Integer that applies the replicate function over the length of x | 
| rescale.p | Logical to rescale the probability | 
| simulate.p.value | Logical that simulates a probability value | 
| B | Numeric that describes the number of replicates the simulated p value is based on | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.