Learn R Programming

FBMS (version 1.1)

nhs: negative heavy side function

Description

negative heavy side function

Usage

nhs(x)

Value

as.integer(x<0)

Arguments

x

The vector of values

Examples

Run this code
nhs(2)

Run the code above in your browser using DataLab