movie: function to generate a movie of flight data

Description Usage Arguments Examples

View source: R/movie.R

Description

movie.routes is used for generating a movie of flight data

Usage

1
2
3
4
## S3 method for class 'routes'
movie(x, show.progress = TRUE, save = TRUE, 
                       width = 1024, height = 768, ...)
ffmpeg(dir, ffmpeg = "ffmpeg")

Arguments

x

data frame containing routes data

show.progress

if progress bar should be shown

save

if the generated pictures should be saved

width

width of the generated pictures

height

height of the generated pictures

dir

image directory (returned by movie)

ffmpeg

optionally, path to ffmpeg binary

...

NightDay = TRUE if the light-shadow boundary to be drawn in addition. citynames = TRUE if additional city names to be displayed.

Examples

1
2
3
4
  myflights <- flights(from = "2011-01-07 11:55:00", 
                       to = "2011-01-07 12:05:00")
  myroutes <- routes(myflights)
  movie(myroutes, save = FALSE, NightDay = TRUE)

MUCflights documentation built on May 1, 2019, 9:32 p.m.

Related to movie in MUCflights...