dput_pretty | R Documentation |
This function modifies the output of the traditional dput() function so that each key-value pair in a vector appears on a new line. It's useful for creating more readable output.
dput_pretty(vec)
vec |
A named vector to be printed. The vector should be in the form |
No return value. Outputs the vector with each element on a new line.
vec <- c(`0` = "ACyte", `1` = "Misp.1.DCN")
pretty_dput(vec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.