centerData: Center Data

View source: R/01-processCoordinateData.R

centerDataR Documentation

Center Data

Description

Transfer data to the center of the map, either Europe or Pacific by adding or substracting 360° from the Longitude. If "Europe" longitudes are transposed to the range (-180, 180), if "Pacific" longitudes are transposed to the range (0, 360).

Usage

centerData(data, center = c("Europe", "Pacific"))

Arguments

data

(data.frame) data containing column "Longitude"

center

(character) center to shift data to, either "Europe" or "Pacific"

Value

(data.frame) data shifted to the center


Pandora-IsoMemo/iso-app documentation built on Oct. 11, 2024, 11:04 a.m.