Learn R Programming

oce (version 1.0-1)

tail.oce: Extract the End of an Oce Object

Description

Extract the End of an Oce Object

This function handles the following object classes directly: adp-class, adv-class, argo-class (selection by profile), coastline-class, ctd-class, echosounder-class (selection by ping), section-class (selection by station) and topo-class (selection by longitude and latitude). It does not handle amsr-class or landsat-class yet, instead issuing a warning and returning x in those cases. For all other classes, it calls tail with n as provided, for each item in the data slot, issuing a warning if that item is not a vector; the author is quite aware that this may not work well for all classes. The plan is to handle all appropriate classes by July 2018. Please contact the author if there is a class you need handled before that date.

Usage

# S3 method for oce
tail(x, n = 6L, ...)

Arguments

x

An oce object.

n

Number of elements to extract, as for tail.

...

ignored

See Also

head.oce, which yields the start of an oce object.