Simplify a trajectory

simplify_trajectory(traj, allow_self_loops = FALSE)

Arguments

traj

A trajectory to simplify

allow_self_loops

Whether or not to allow self loops.