knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
To use dataVision, supply an x variable, y variable and dataframe and watch the magic unfold!
Two examples pulled from two different datasets dataframes.
library(dataVision) dataVision('Species', 'Sepal.Length', iris) dataVision('speed', 'dist', cars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.