make_population: Set Up a Population from a Configuration

Description Usage Arguments

Description

Provides a method to read and store population configuration.

Usage

1
2
make_population(habitat, inaccessible.value, uninhabitable.value, genotypes,
  N = 0, extent)

Arguments

habitat

A RasterLayer, or the path to the file where the raster is stored.

inaccessible.value

The values in the raster that should be marked as inaccessible.

uninhabitable.value

The values in the raster that should be marked as not habitable.

genotypes

A character vector of genotypes.

N

Numerical value(s) to initialize the matrix of genotype counts with.

extent

A raster::extent object (or a vector of xmin,xmax,ymin,ymax) to crop the habitat with.


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