showMetadataItem: Show an Item in the metadata Slot of an oce Object

showMetadataItemR Documentation

Show an Item in the metadata Slot of an oce Object

Description

This is a helper function for various summary functions.

Usage

showMetadataItem(
  object,
  name,
  label = "",
  postlabel = "",
  isdate = FALSE,
  quote = FALSE
)

Arguments

object

an oce object.

name

name of item

label

label to print before item

postlabel

label to print after item

isdate

boolean indicating whether the item is a time

quote

boolean indicating whether to enclose the item in quotes

Author(s)

Dan Kelley

Examples

library(oce)
data(ctd)
showMetadataItem(ctd, "ship", "ship")

oce documentation built on Sept. 11, 2024, 7:09 p.m.