powered by
Is idx possible in given matrix?
is_idx_possible(mat, idx)
matrix
two-element vector
# NOT RUN { is_idx_possible(matrix(0, 3, 3), c(4, 5)) is_idx_possible(matrix(0, 3, 3), c(3, 2)) # }
Run the code above in your browser using DataLab