iris_commented <- iris
mapply(
function(x, y) comment(iris_commented[[x]]) <<- y,
names(iris_commented),
c(
"Length of the sepals",
"Width of the sepals",
"Length of the sepals",
"Width of the sepals",
"Species of Iris\nTry explaining this with the help of the other features!"
)
)
unbind(iris_commented, "inst/extdata/iris")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.