ContinentSplitter: Split apart joined continents

Description Usage Arguments Details Value Author(s) Examples

View source: R/ContinentSplitter.R

Description

Return two separate clumps of continents after a separation has occurred.

Usage

1
2
3
4
5
6
7
8
9
ContinentSplitter(
  min_separation,
  longitudes,
  latitudes,
  continent_numbers,
  protected_links = matrix(nrow = 0, ncol = 2),
  EarthRad = 6367.4447,
  Warn = TRUE
)

Arguments

min_separation

The minimum separation in kilometres between continents.

longitudes

Decimalised longitudes of the continents forming the clump in continent_numbers order.

latitudes

Decimalised latitudes of the continents forming the clump in continent_numbers order.

continent_numbers

A character vector of continent numbers.

protected_links

A two-column matrix of protected links (those that cannot be severed).

EarthRad

Earth radius in kilometres.

Warn

Whether or not to print warnings.

Details

Nothing yet.

Value

Vector of two continental clumps left after separation.

Author(s)

Graeme T. Lloyd graemetlloyd@gmail.com

Examples

1
# Nothing yet

laurasoul/dispeRse documentation built on May 25, 2021, 4:50 a.m.