is_idx_possible: Is idx possible in given matrix?

Description Usage Arguments Examples

View source: R/utils.R

Description

Is idx possible in given matrix?

Usage

1
is_idx_possible(mat, idx)

Arguments

mat

matrix

idx

two-element vector

Examples

1
2
is_idx_possible(matrix(0, 3, 3), c(4, 5))
is_idx_possible(matrix(0, 3, 3), c(3, 2))

matricks documentation built on March 26, 2020, 6:22 p.m.