plot_network: Plot stream network and optional observations

Description Usage Arguments Value

View source: R/plot_network.R

Description

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

Usage

1
2
3
4
plot_network(Network_sz_LL, Data = NULL, byYear = FALSE,
  byValue = FALSE, value_label = NULL, FilePath = NULL,
  FileName = "Network", arrows = FALSE, root = FALSE,
  obs_color = NULL)

Arguments

Data

data frame with observations

byYear

plot observations by year, default = FALSE

byValue

plot observations representing size of point by their value

value_label

label for the value observed

FilePath

path to figure directory

FileName

label for plot

arrows

default = FALSE do not plot segments

root

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

obs_color

option for hard-coding the colors for figures, used to match colors for plotting only one category when other figures are multiple categories (optional)

Value

Figure plotting stream network and observations


merrillrudd/VASTPlotUtils documentation built on March 4, 2020, 8:27 p.m.