Learn R Programming

scanstatistics (version 1.1.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)

Value

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

Arguments

v

An integer vector.