Description Usage Arguments Value Examples
Prints the standard fframework for documenting a data frame in an R package.
1 | document_df(df, num_spaces = 4)
|
df |
data frame object; can be a |
num_spaces |
number of a spaces per tab; default is 4 |
nothing
1 2 3 4 | set.seed(0)
dat <- data.frame(x = c(LETTERS[1:5]),
y = c(sample(1:100, 5)))
document_df(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.