R/hardlim.R

Defines functions hardlim

hardlim <-
function(x) {
  y <- ifelse(x >= 0, 1, 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.