R/thresholdval.R

Defines functions thresholdval

thresholdval <-
function(x, knot) 
{
   ifelse(x >= knot, 1, 0)
}

Try the maxnet package in your browser

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

maxnet documentation built on July 9, 2021, 5:08 p.m.