get.cond.env.lyr: Create conditional environmental layer

Description Usage Arguments Value Note

Description

Generates an environmental layer, taking into account the values of another environmental layer. The new layer will be assigned only for particular values of the other layer, for all other values, the new layer will have the value of zero.

Usage

1
get.cond.env.lyr(env.info, p, other.lyrs, other.lyrs.info)

Arguments

env.info

A list with three parts: one function code and two parameters

p

The number of cells in the landscape

other.lyrs

The other layer (or layers) to take into account

other.lyrs.info

The values in the other layer that represent suitable habitat

Value

An environmental layer with a value for each cell in the landscape (as a vector)

Note

WARNING: Not tested for conditioning on more than one layer. It should work, but needs testing


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.