Description Usage Arguments Details Value Examples
Using the classIntervals
function from the classInt
package perform trajectory segmentation based on a variety of simple algorithms.
1 |
traj |
an object of the class |
k |
(integer) the number of output classes desired from the segmentation (default = 2), |
style |
(character)the algorithm for identifying class breaks (default = 'fisher'), |
col |
the name (as a character string) of the column upon which to perform the segmentation (default = 'dist') |
The segementation is based on a single trajectory attribute (default is the movement distance). The default method for performing the segmentation is the Fisher-Jenks algorithm, but many are available (see the full list in the documentation for the classIntervals
function).
An ltraj
object with a new infolocs column 'class'.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.