R/koffset.R

Defines functions koffset

koffset <- function(income, X, Y, Yright, Method = "linear") {
  stats::approxfun(x = X, y = Y, yright = Yright, method = Method)(income)
}

Try the grattan package in your browser

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

grattan documentation built on June 22, 2024, 11:55 a.m.