Learn R Programming

oce (version 1.7-10)

showMetadataItem: Show metadata item

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

Dan Kelley

Examples

Run this code
library(oce)
data(ctd)
showMetadataItem(ctd, "ship", "ship")

Run the code above in your browser using DataLab