Useful for debugging as a substitute for printing the value of a variable in a function. It also prints the name of the variable.
1 | disp(x, head = deparse(substitute(x)))
|
x |
value to print |
head |
(default: deparse(substitute(x))) heading preceding printed value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.