This function defines a displacement of a population along a given trajectory in a given time frame

move(pop, trajectory, end, snapshots, start = NULL)

Arguments

pop

Object of the class spannr_pop

trajectory

List of two-dimensional vectors (longitude, latitude) specifying the migration trajectory

snapshots

Number of time slices to split the movement into

start, end

Start/end points of the population migration

Value

Object of the class spannr_pop