Compute the r-squared coefficient of determination between simulated and
observed marginal totals. This function implements the
lm
function to estimate the r-squared coefficient.
1 | getR(observed, simulated)
|
observed |
observed marginal sums |
simulated |
simulated marginal sums |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.