copycat_code | R Documentation |
The 'copycat_code()' function searches for a code snippet, but it returns only the code. It expects a data frame with three columns. A column with the package name (package), the function (fun) name, and the code (code) to copy. As long as you do not provide a data frame, the function search within the 'CopyCatCode' data.
copycat_code(x, data = CopyCatCode)
x |
A search string for the function |
data |
A data frame |
A text string that shows the code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.