my.radius.func: Function that control the size of the colour markers

Description Usage Arguments Examples

View source: R/mapping_functions.R

Description

Function that control the size of the colour markers

Usage

1
my.radius.func(x2plot, radius_function)

Arguments

x2plot
radius_function

Examples

1
2
3
4
5
map <- addCircleMarkers(map, data = OK_stations, lng = ~ longitude, lat = ~ latitude, 
                 radius = ~my.radius.func(OK_stations$flood_warning, radius_function), 
                 color = ~my.color.func(OK_stations$flood_warning, my.colors), 
                 stroke = FALSE, fillOpacity = 1,
                 group = "Warning ratio available")

NVE/Flood_forecasting documentation built on May 7, 2019, 6:04 p.m.