SimulateHomeRange: SimulateHomeRange

Description Usage Arguments Details Value

View source: R/home.R

Description

Runs a simulation of home range behavior based on nest and conspecific locations and a logistic function for angle bias

Usage

1
2
SimulateHomeRange(steps, start_xy, homerange, mu, rho, extent, extend,
  redist_plots, arrow_plots, alpha)

Arguments

steps

number of locations

start_xy

animal's starting longitude and latitude.

homerange

homerange kernel raster

mu

wrapped Cauchy mu parameter, default is 0

rho

wrapped Cauchy rho parameter

col

color palette for base raster, default is jet2.col()

extend

integer, changes the extent of the plots to a certain number of cells around the prob_raster. Default is 0.

extent

sets a fixed extent for plots, default is NULL which uses the extent of the homerange raster

redist_plots

save all of the redistribution kernel probability plots in the working directory. Default is FALSE.

arrow_plots

save all of the redistribution kernel probability plots with movement arrows in the working directory. Default is FALSE.

alpha

alpha (i.e., transparency) value for plotting the redistribution kernels. Default is .9

Details

Still a work in progress. May modify code so all of the redistribution kernels are saved as a RasterStack. This would allow the legend scale to be set at fixed values and to potentially create ArcGIS rasters and KMLs after the simultion is run.

Value

Dataframe with simulation data


Blakemassey/ibmr documentation built on Dec. 25, 2021, 8:39 a.m.