habitable_points: Find Points Corresponding to Habitable Cells

Description Usage Arguments Value

Description

Given a logical vector corresponding to the habitable locations in a population, return a two-column matrix of coordinates of the TRUE entries in that vector, suitable for plotting.

Usage

1

Arguments

pop

A population object.

x

A logical vector of length equal to sum(pop$habitable).

Value

A two-column (x,y) matrix of coordinates, suitable for plotting or turning into a SpatialPoints object.


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