getR: Coefficient of determination

Description Usage Arguments

Description

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.

Usage

1
getR(observed, simulated)

Arguments

observed

observed marginal sums

simulated

simulated marginal sums


emunozh/testmsim documentation built on May 16, 2019, 5:11 a.m.