R/k.R

Defines functions k

Documented in k

#' This is an internal function. The kernel function
#'
#' @param x A numeric argument.
#' @return The value of the kernel function at x.

k <- function(x){
  return( (2 * abs(x)^3 - 3* x^2 + 1) * (abs(x) < 1) )
}

Try the NonlinearRDD package in your browser

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

NonlinearRDD documentation built on Nov. 26, 2023, 5:07 p.m.