Learn R Programming

GMSE (version 1.0.0.2)

ind_to_land: Plot resource position on a landscape image output

Description

Places individuals (simulated resources) on the landscape for plotting.

Usage

ind_to_land(inds, land)

Arguments

inds

A single time step of resources from GMSE

land

The landscape array on which interactions between resources and agents occur

Value

Returns a landscape in which resources are embedded for a timestep for plotting purposes

Examples

Run this code
# NOT RUN {
indis  <- ind_to_land(inds=res_t, land=land1);
# }

Run the code above in your browser using DataLab