nhs {FBMS}R 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)


[Package FBMS version 1.0 Index]