Learn R Programming

FedData (version 4.2.0)

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

An Simple Feature or SpatRaster 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