R/scoreK.R

Defines functions scoreK

Documented in scoreK

scoreK <- function(Z,R) {
  z <- length(Z)
  (1/z) * sum((R/Z)^2)
  }

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.