Description Usage Arguments Value
test for correlations between simulated and expected marginal totals. This
functions implements the cor
function for the
estimation of the Pearson correlation coefficient.
pearson <- cor(cbind(Tx, hTx), use="complete.obs", method="pearson")
1 | getPearson(observed, simulated)
|
observed |
observed marginal sums |
simulated |
simulated marginal sums |
Pearson correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.