Description Usage Arguments Value Examples
Extract Elements from a dataDict
Object
1 2 | ## S3 method for class 'dataDict'
dict[elem, cols = NULL]
|
dict |
A |
elem |
The element to extract (character scalar). |
cols |
If |
The desired element extracted from the dataDict
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | dd <- dataDict(mtcars)
dd["numUnique"]
dd["colTables", "mpg"]
dd["colTables", NA]
dd["colTables"]
dd2 <- dataDict(mtcars, tableMode = TRUE)
dd2["colTables", "mpg"]
dd2["colTables", NA]
# The following lines work, but cause automated testing problems
# dd["colTables", c("mpg", "cyl")]
# dd2["colTables", c("mpg", "cyl")]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.