View source: R/objectToText.R View source: R/model.R
objectToText | R Documentation |
Convert R Object to Text Representation
objectToText(x)
x |
R object |
vector of character representing the R code that reproduces the
object x
objectToText(1:10)
objectToText((1:10)[-5])
cat(objectToText(head(iris)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.