Description Usage Arguments Value Examples
set_ggbash_dataset
receives a character (a data frame name),
evaluate it as a symbol, and construct a corresponding tbl_df object.
1 | set_ggbash_dataset(dataset_name = "iris+point")
|
dataset_name |
a character representing a data frame. If a matrix is given, it's transformed into a data frame. |
a tbl_df object with attr('ggbash_datasetname')
1 2 | newdf <- set_ggbash_dataset('iris')
attr(newdf, 'ggbash_datasetname') # 'iris'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.