| toList | R Documentation | 
Make sure the object is a list
toList(object)
object | 
 Object to be converted to a list.  | 
If is.list(object) == TRUE, returns the object; otherwise, list(object).
toList(list("a" = 1, "b" = 2))
toList(c("a" = 1, "b" = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.