Learn R Programming

oce (version 1.4-0)

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

Examples

Run this code
# NOT RUN {
library(oce)
data(ctd)
showMetadataItem(ctd, "ship", "ship")
# }

Run the code above in your browser using DataLab