R/rhobi.R

Defines functions rhobi

rhobi <-
function(u, ccc){
  
  w <- abs(u) <= ccc
  v <- (u^2 / (2) * (1 - (u^2 / (ccc^2)) + (u^4 / (3 * ccc^4)))) * w + (1 - w) * (ccc^2 / 6)
  v <- v * 6 / ccc^2
  return(v)
}

Try the robflreg package in your browser

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

robflreg documentation built on May 29, 2024, 3:55 a.m.