get_N: Access Values of Habitable Cells in a Population

Description Usage Arguments

Description

Provides a method to read values to the matrix of population sizes in a population object indexed by cells in the underlying Raster* rather than rows the matrix itself, which records only values at habitable locations.

Usage

1
get_N(x, i, j)

Arguments

x

The population object.

i

The rows to read values of, indexed by cells in x$habitat.

j

The columns to read values of, or names of genotypes.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.