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


comat documentation built on April 5, 2023, 5:12 p.m.