Description Usage Arguments Examples
These are called internally in various datadr functions. They are not meant for use outside of there, but are exported for convenience, and can be useful for better understanding ddo/ddf objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | setAttributes(obj, attrs)
## S3 method for class 'ddf'
setAttributes(obj, attrs)
## S3 method for class 'ddo'
setAttributes(obj, attrs)
getAttribute(obj, attrName)
getAttributes(obj, attrNames)
## S3 method for class 'ddf'
getAttributes(obj, attrNames)
## S3 method for class 'ddo'
getAttributes(obj, attrNames)
hasAttributes(obj, ...)
## S3 method for class 'ddf'
hasAttributes(obj, attrNames)
|
obj |
'ddo' or 'ddf' object |
attrs |
a named list of attributes to set |
attrName |
name of the attribute to get |
attrNames |
vector of names of the attributes to get |
... |
additional arguments |
1 2 | d <- divide(iris, by = "Species")
getAttribute(d, "keys")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.