Description Usage Arguments Value Examples
Sometimes you will want to post documents (e.g., R markdown) in a public forum (e.g., GitHub), but you don't want to reveal any raw data values. In such a case, using str() or glimpse() may be problematic. about_data() is a simple function that returns the number of observations and variables in a data frame, but none of the data values.
1 | about_data(x, ...)
|
x |
A data frame |
... |
Additional arguments |
A character string
1 2 3 | data("mtcars")
about_data(mtcars)
names(mtcars)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.