plot_windrose: Windrose style plot

Description Usage Arguments Value Examples

View source: R/track.R

Description

Windrose style plot

Usage

1
2
3
4
plot_windrose(tracks, spdres = 1, dirres = 30, spdmin = 0,
  spdmax = 5, palette = "YlGnBu",
  scale_name = "speed in pixel/frame",
  title_name = "Distribution of angle and speed")

Arguments

tracks

data frame with track objects

spdres

speed resolution used for coloring

dirres

angle resolution of the plot

spdmin

minimum speed (used for color mapping of speed)

spdmax

max speed (used for color mapping of speed )

palette

color map (used for color mapping of speed)

scale_name

legend name / title for the scale

title_name

title name of the plot

Value

windrose_plot

Examples

1
2
3
4
5
 df <- dplyr::tibble(
   Track_Speed = runif(1000, max = 5),
   Track_Angle =  runif(1000, min = -pi, max = pi)
 )
 plot_windrose(df)

cells2numbers/neutrominer documentation built on May 3, 2019, 9:04 p.m.