sample.plotluck samples a formula as follows:
Uniformly draw the number of variables (1-3).
For each variable, uniformly choose one of the existing variable types from the data set (numeric, ordered or unordered factor).
Uniformly select one of the data frame columns of that type.
a data frame
additional parameters to be passed to
a ggplot2 object.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.