Skip to content

Commit

Permalink
Add seed to prevent plot change every compile
Browse files Browse the repository at this point in the history
  • Loading branch information
sherrillmix committed Oct 15, 2015
1 parent a5ba736 commit ed12bfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ devtools::install_github("eclarke/ggbeeswarm")

We use the provided function `offset_x` to generate the x-offsets for plotting.
```{r base-examples, tidy=FALSE, results='hide'}
set.seed(12345)
library(ggbeeswarm)
# Generate data
dat <- list(rnorm(50), rnorm(500), c(rnorm(100), rnorm(100,5)), rcauchy(100))
Expand Down

0 comments on commit ed12bfd

Please sign in to comment.