Skip to contents

Makes a line plot that shows tributaries by stream distance

Usage

plotStream(
  streamvast,
  plotvar = "pred_Density",
  ylab,
  streamname,
  usepreds = T,
  title,
  show.names = "all"
)

Arguments

streamvast

a streamvast object with predictions or evaluations

plotvar

the column name in data to be plotted

ylab

character, a label for the y axis

streamname

the column name in the reaches with the stream name

usepreds

logical, should the prediction or evaluation data be used, if absent, the function will search

title

a title to display above the graph

show.names

character; a vector of names to highlight, useful for large watersheds

Value

A plot of the variable with respect ot stream distance