merge-argoFloats-method: Merge argoFloats Indices

Description Usage Arguments Value Author(s) Examples

Description

Merge argoFloats Indices

Usage

1
2
## S4 method for signature 'argoFloats'
merge(x, y, ...)

Arguments

x, y

two argoFloats objects of type index, e.g. as created by getIndex().

...

optional additional objects like x and y.

Value

An argoFloats object of type index.

Author(s)

Dan Kelley

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(argoFloats)
data(index)

# Index of floats within 50km of Abaca Island
C <- subset(index, circle=list(longitude=-77.5, latitude=27.5, radius=50))

# Index of floats within a rectangle near Abaca Island
lonRect <- c(-76.5, -76)
latRect <- c(26.5, 27.5)
R <- subset(index, rectangle=list(longitude=lonRect, latitude=latRect))

RC <- merge(C, R)

plot(RC, bathymetry=FALSE)

dankelley/argoFloats documentation built on Oct. 19, 2021, 1:17 p.m.