rcpp_xy_from_matrix: Coordinates from a matrix

View source: R/RcppExports.R

rcpp_xy_from_matrixR Documentation

Coordinates from a matrix

Description

This function gets coordinates (row and column numbers) of the matrix cells.

Usage

rcpp_xy_from_matrix(x, cell = NULL)

Arguments

x

A matrix

cell

A vector of cell number. If NULL, the coordinates will be calculated for the whole matrix


landscapemetrics documentation built on Sept. 12, 2024, 7:42 a.m.