Learn R Programming

StreamCatTools (version 0.10.0)

sc_plotnni: Plot National Nutrient Inventory data for streams

Description

Function to plot time series of nitrogen and phosphorus budgets for a given stream COMID. This function allows a user to return a time series of major inputs, outputs, and derived metrics of nitrogen and phosphorus. Plot is returned as an object

Usage

sc_plotnni(comid, include.nue = FALSE, include.inset = TRUE)

Value

Return plot as an object.

Arguments

comid

Identifier of stream COMID user wants to plot NNI data for. Must be a character string with the COMID digit. Syntax: com=<COMID>

include.nue

Include time series of nitrogen use efficiency in the returned plot. The default value is false. Values: true|false

include.inset

Include inset map that shows the location of the COMID and its basin. The default value is true. Values: true|false

Author

Selia Markley

Examples

Run this code
if (FALSE) {
p <- sc_plotnni(comid='1337420')
p <- sc_plotnni(comid='1337420', include.nue=TRUE)
p <- sc_plotnni(comid='1337420', include.inset=FALSE)
}

Run the code above in your browser using DataLab