| object_to_input | R Documentation |
This isn't a function—it's just a note to document something that I found to be very useful.
Just use dput(x). E.g., if x is c(1,2,3), then dput(x) is "c(1, 2, 3)". Thats it!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.