Description Usage Arguments Value Examples
Idea is to make the plot independent of the sample ordering
1 |
df |
data.frame (or similar 2D feature) whose rows will be shuffled |
An object with the rows shuffled
1 2 | df <- data.frame(x = rnorm(1000), y = 0)
ggplot(shuf(df), aes(x=x, y=y, colour=x)) + geom_point()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.