rcpp_xy_from_matrix {landscapemetrics}R 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


[Package landscapemetrics version 2.2.1 Index]