Description Usage Arguments Details Value
Create a flighttrajectory object from the flight info.
1 2 | createTrajectory(longitude, latitude, altitude = 0, timestamp = NULL,
bearing = NULL, groundspeed = NULL)
|
longitude |
Required; numeric vector giving aircraft longitude in degrees. |
latitude |
Required; numeric vector giving aircraft latitude in degrees. |
altitude |
Optional; numeric vector giving aircraft altitude (AGL) in feet. If missing, it will be set to 0. |
timestamp |
Optional; numeric vector giving the time of each observation in seconds. If missing, the observation period is assumed to be 1 s. |
bearing |
Optional; numeric vector giving the current bearing in degrees. If missing, it is estimated using pairs of successive lon/lat observations. |
groundspeed |
Optional; numeric vector giving the current ground speed of the aircraft in knots. If missing, it is estimated using pairs of successive lon/lat observations. |
longitude
and latitude
must be the same length.
timestamp
, bearing
, and groundspeed
, if present, must
also match this length. altitude
must also have a length equal to
these parameters or be scalar.
A flighttrajectory object encapsulating these parameters (with default values substituded as necessary).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.