R/aacc.R

Defines functions aacc

Documented in aacc

aacc <- function(Z,R) {
  # Absolute mean ("average")  citizen congruence
  #
  abs(mean(Z, na.rm=TRUE) - mean(R, na.rm=TRUE))
  }

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.