Learn R Programming

scanstatistics (version 1.0.1)

get_zero_indices: Get indices of zero elements in a vector.

Description

Get indices of zero elements in a vector.

Usage

get_zero_indices(v)

Arguments

v

An integer vector.

Value

A vector with the indices of elements equal to zero in v. Indices start at zero.