keyword: Keyword Functions

View source: R/keyword.R

keywordR Documentation

Keyword Functions

Description

Functions to assign, retrieve or look up object keyword attributes.

Usage

keyword(x, ...)

Arguments

x

Object.

...

Other arguments (not used).

value

Character string(s) specifying the index key to be assigned.

Functions

keyword

Default key method.

keyword.default

Default format retrieval method. If no key attribute is defined, then a call to format is made.

key<-

Generic key assignment method. See Examples for usage.

key<-.default

Defaultkey assignment method. See Examples for usage.

See Also

metadata

Examples

# Build sample data:
x <- data.frame(year = 1990:2014, measurement = rpois(25, 5))
keyword(x) <- c("Annual", "survey") # Assign keywords
keyword(x) # Retrieve key.


TobieSurette/gulf.metadata documentation built on Dec. 31, 2022, 5:35 a.m.