clip_current: Clip ocean current data frame to fit a basemap

View source: R/clip_current.R

clip_currentR Documentation

Clip ocean current data frame to fit a basemap

Description

An internal utility function to clip ocean current data frames to fit the boundaries of a basemap

Usage

clip_current(dt, X, shrink = 0.5)

Arguments

dt

data frame containing ocean currents. Must be run through the tidy function to contain long, lat and group columns.

X

A basemapData object

shrink

numeric between 0 and 100 defining the percentage of clipping ocean current arrows to be done vertically and horizontally.

Author(s)

Mikko Vihtakari


MikkoVihtakari/PlotSvalbard documentation built on May 20, 2024, 5:18 p.m.