inst/elmNN/R/tribas.R

tribas <-
function(x) {
  y <- ifelse(x >= -1 & x <= 1, 1 - abs(x), 0)
  y
}

Try the elmNNRcpp package in your browser

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

elmNNRcpp documentation built on March 18, 2022, 7:26 p.m.