Learn R Programming

moveHMM (version 1.0)

turnAngle: Turning angle

Description

Used in prepData.

Usage

turnAngle(x, y, z)

Arguments

x
First point
y
Second point
z
Third point

Value

  • The angle between vectors (x,y) and (y,z)

Examples

Run this code
x <- c(0,0)
y <- c(4,6)
z <- c(10,7)
turnAngle(x,y,z)

Run the code above in your browser using DataLab