R/tribas.R

Defines functions tribas

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

Try the elmNN package in your browser

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

elmNN documentation built on May 29, 2017, 3:22 p.m.