copycat_package | R Documentation |
Use 'copycat_package()' expects a text string to search for corresponding package name. It expects that the data frame has three columns. A column with the package name (package), a function (fun), and one with the code (code) to copy. If data = NULL, the package search in the the internal data 'CopyCatCode'.
copycat_package(x, data = CopyCatCode)
x |
A search string for the code snippet |
data |
A data frame |
A string with the package name and the function sends the code to load the library to the console.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.