nhs: negative heavy side function

View source: R/nonlinear_functions.R

nhsR Documentation

negative heavy side function

Description

negative heavy side function

Usage

nhs(x)

Arguments

x

The vector of values

Value

as.integer(x<0)

Examples

nhs(2)


FBMS documentation built on Sept. 13, 2025, 1:09 a.m.