R/relrepMax.R

Defines functions relrepMax

Documented in relrepMax

relrepMax <- function(Z,R) {
  # z <- length(Z)
  # r <- length(R)
  # max(R[2:r]/Z[2:z])
  max(R[-1]/Z[-1])
  }

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.