sim_agents: A Function to simulate animal movement with an ABM

Description Usage Arguments Value

View source: R/sim_agents.R

Description

A Function to simulate animal movement with an ABM

Usage

1
2
sim_agents(num_agents, time_points, mu_true, sigma_true, mu_theta_true,
  sigmasq_eps, sigmasq_eta, x_range, y_range)

Arguments

num_agents

The number of agents to simulate

time_points

The number of discrete time steps

mu_true

Value for mean step size in truncated normal distribution

sigma_true

Value for the standard deviation of mean step size in truncated normal distribution

mu_theta_true

Vector for mean of multivariate normal (for projected normal distribution)

sigmasq_eps

Value for eps

sigmasq_eta

Value for eta

x_range

Range of x-values to simulate starting points of agents

y_range

Range of y-values to simulate starting points of agents

Value

An array of dimension (num_agents X time_points x 2) containing the agent locations


andyhoegh/moveR documentation built on Feb. 8, 2020, 11:20 p.m.