plot.trends: Make nutrient trends map function

Description Usage Arguments Details Examples

View source: R/make.nt.plot_function.R

Description

This function allows you to plot nutrient trends data on ggplot maps.

Usage

1
plot.trends(pt_dat, coastline = spatinz::coastline)

Arguments

pt_dat

Expects input of a point shapefile, in either WGS84 or NZTM.

coastline

Expects input of a coastline shapefile, defaults to NZ topo coastline.

Details

You can either use included nutrient data or supply your own point data in shapefile format. Similarly you can either use the default included coastline of New Zealand or supply your own polygon in shapefile format.

Included data:

Examples

1
2
plot.trends(tp)
plot.trends(drp) + ggplot2::labs(title = "Dissolved reactive phosphorus")

isaacbain/spatinz documentation built on May 23, 2019, 7:33 a.m.