oce (version 1.1-1)

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 object inheriting from the base oce class.

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 DataCamp Workspace