Learn R Programming

move (version 1.0)

angle: angle information from a track or track stack

Description

This function returns a summary about angle related measurements of a track or track stack. These are: average azimuth, variance of azimuth, standard error of azimuth.

Usage

## S3 method for class '.MoveTrackSingle':
angle(x)
  ## S3 method for class '.MoveTrackStack':
angle(x)
  ## S3 method for class '.MoveTrackSingle':
angleSummary(x)
  ## S3 method for class '.MoveTrackStack':
angleSummary(x)

Arguments

x
Move or MoveStack object

Value

  • Angles in degrees

Examples

Run this code
load(system.file("extdata", "move.RData", package="move"), .GlobalEnv)
stack <- moveStack(list(leroy,leroy))
  angle(leroy) #angles from a Move object 
  angle(stack) #angles from a MoveStack object
  angleSummary(leroy) # summary of angle measures of a Move object
  angleSummary(stack) # summary of angle measures of a MoveStack object# failed on cran build

Run the code above in your browser using DataLab