R/sumZR.R

Defines functions sumZR

Documented in sumZR

sumZR <- function(Z,R) {
  # sum of absolute differences |Z-R|
  sum(abs(Z-R))
  }

Try the polrep package in your browser

Any scripts or data that you put into this service are public.

polrep documentation built on Jan. 5, 2024, 3:01 a.m.