Creates a data object for viewing.
An R object; typically an atomic vector or a list (see Details).
A name to be used to label the view of the data.
This function is useful for preparing simple atomic vectors for viewing or for preparing a complex object that has no specific function (such as a general list object). In the latter case, the normal printed output of the object is used as the basis for viewing.
There are more appropriate functions for preparing data frames, external text files, or relational databases for viewing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.