R/vcovJK.R

Defines functions vcovJK.default vcovJK

Documented in vcovJK vcovJK.default

vcovJK <- function(x, ...) {
  UseMethod("vcovJK")
}

vcovJK.default <- function(x, cluster = NULL, center = "mean", ...) {
  center <- match.arg(center, c("mean", "estimate"))
  vcovBS(x, cluster = cluster, center = center, type = "jackknife", ...)
}

Try the sandwich package in your browser

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

sandwich documentation built on Sept. 30, 2024, 9:17 a.m.