Learn R Programming

ggOceanMaps (version 2.2.0)

rotate_crs: Rotate CRS

Description

Rotates a CRS such that North is in the middle of two meridians

Usage

rotate_crs(crs, meridians)

Value

Rotated CRS in st_crs format

Arguments

crs

The CRS to be rotated in st_crs format

meridians

A numeric vector giving the two meridians which should be used in the rotation

Author

Mikko Vihtakari