Learn R Programming

ssMutPA (version 0.1.2)

get_indicate: Indicator function.

Description

Indicator function.

Usage

get_indicate(vector, cutpoint)

Value

An integer with the value 1 or 0.

Arguments

vector

A numerical value.

cutpoint

The threshold of the indicator function.