bearingToXY.Rd (693B)
1 % Generated by roxygen2: do not edit by hand 2 % Please edit documentation in R/lonlatToXY.R 3 \name{bearingToXY} 4 \alias{bearingToXY} 5 \title{Convert a bearing (in degrees) and velocity (in knots) to north and east 6 velocity (in ft / s).} 7 \usage{ 8 bearingToXY(bearing, speed) 9 } 10 \arguments{ 11 \item{bearing}{A numeric vector giving the instantaneous direction of the 12 velocity in degrees.} 13 14 \item{speed}{A numeric vector giving the instantaneous magnitude of the 15 velocity in knots.} 16 } 17 \value{ 18 A n x 2 matrix giving the north/south and east/west components of the 19 velocity, in feet/s. 20 } 21 \description{ 22 Convert a bearing (in degrees) and velocity (in knots) to north and east 23 velocity (in ft / s). 24 } 25