Skip to contents

Create matrix with index numbering conventions as for PRIO-GRID.

Usage

create_pg_indices(ncol = pgoptions$get_ncol(), nrow = pgoptions$get_nrow())

Arguments

ncol

The number of columns in the grid.

nrow

The number of rows in the grid.

Value

A ncol*nrow matrix with integer indices.

Examples

pg <- create_pg_indices()