Learn R Programming

FedData (version 3.0.4)

plot_nhd: A basic plotting function for NHD data.

Description

This is more of an example than anything

Usage

plot_nhd(x, template = NULL)

Value

A [ggplot2] panel of plots

Arguments

x

The result of [get_nhd].

template

template A `Raster*`, `Spatial*`, or `sf` object to serve as a template for cropping.

Examples

Run this code
if (FALSE) {
# Get the NHD (USA ONLY)
NHD <- get_nhd(
  template = FedData::meve,
  label = "meve"
)
NHD
NHD %>%
  plot_nhd(template = FedData::meve)
}

Run the code above in your browser using DataLab