plot_network: Plot stream network and optional observations

Description Usage Arguments Value

Description

plot_network generates figure showing network nodes, directional arrows, and observations

Usage

1
2
3
4
plot_network(Extrapolation_List, Spatial_List, TmbData, Data_Geostat,
  category_names = NULL, observations = TRUE, arrows = TRUE,
  root = TRUE, savedir = NULL, plot_type = 1, show = TRUE,
  cex_network = 1, ...)

Arguments

Extrapolation_List

Output from Prepare_Extrapolation_Data_Fn

Spatial_List

Output from FishStatsUtils::make_spatial_list

Data_Geostat

data-frame of data (with columns 'Year', 'Lon', 'Lat' or 'E_km', 'N_km' at a minimum)

category_names

names for numeric categories in Data_Geostat

observations

default TRUE to include observations on the figure, FALSE to show only network

arrows

default TRUE to show directional connections between nodes, but FALSE may prevent crash if there are too many points.

root

default TRUE to show root nodes, FALSE in case there are other root nodes that are not meaningful.

savedir

Directory for plots

plot_type

1 == all or 2 == by year

show

print figure

cex_network

point size for network

...

addition inputs to plot

Data

output of VAST::Data_Fn which includes parent_s and child_s

Value

Figure plotting stream network and observations


merrillrudd/StreamUtils documentation built on May 29, 2019, 9:31 a.m.