R/Zc.R

Defines functions Zc

Documented in Zc

Zc <- function(Z) {
  # Proportion of minorities in population (all groups except first)
  z <- length(Z)
  sum(Z[2:z])
  }

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.