Description Objects from the Class Slots Methods Author(s) Examples
The QcMetadata
class is a simple interface to metadata. The
objects can be displayed with show
for a summary and
print
for the content.
Objects can be created by calls of the form QcMetadata(...)
.
metadata
:Object of class "list"
that stores
the metadata variables. The list must be named. NA
and
empty characters are not allowed.
signature(x = "QcMetadata")
: subsets x
as a
new QcMetadata
instance.
signature(x = "QcMetadata")
: extracts a single
element of x
.
signature(x = "QcMetadata")
: return the
object
's metadata list. Also available as mdata
.
signature(x = "QcMetadata", value =
"list")
: sets the objects metadata. Also available as
mdata
.
signature(x = "QcMetadata")
: returns the number
of metadata variables.
signature(x = "QcMetadata")
: returns the names
of the metadata variables.
Laurent Gatto <lg390@cam.ac.uk>
1 2 3 4 5 6 7 8 9 | QcMetadata(metadata =
list(name = "John Doe",
lab = "Big Lab in Big Uni"))
## less typing
qmd <- QcMetadata(list(name = "John Doe",
lab = "Big Lab in Big Uni"))
mdata(qmd)
show(qmd)
print(qmd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.