metadata,SoilProfileCollection-method: Retrieve metadata from SoilProfileCollection
Description
Get metadata from SoilProfileCollection. Result is a list. Two entries (aqp_df_class, depth_units) should not be edited in the metadata list directly. There are methods that facilitate changing them -- and propagating their changes throughout the collection. Otherwise, metadata list is a free-form slot used to store arbitrary information about the data, how it was collected, citations, etc.
Usage
# S4 method for SoilProfileCollection
metadata(object)
# S4 method for SoilProfileCollection
metadata(object) <- value
data(sp5)
# replace default metadata with itselfmetadata(sp5) <- metadata(sp5)
# set new metadata attribute valuemetadata(sp5)$newvalue <- 'foo'# get metadata attributemetadata(sp5)$newvalue