merge,argoFloats-method {argoFloats}R Documentation

Merge argoFloats Indices

Description

Merge argoFloats Indices

Usage

## 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

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)



[Package argoFloats version 1.0.7 Index]