Skip to content

Instantly share code, notes, and snippets.

@monogenea
Created October 7, 2019 19:16
Show Gist options
  • Save monogenea/d45cc5fbe035aeb09360e42e932a2991 to your computer and use it in GitHub Desktop.
Save monogenea/d45cc5fbe035aeb09360e42e932a2991 to your computer and use it in GitHub Desktop.
myMeans <- vector()
for(i in 1:100){
set.seed(i)
myMeans <- c(myMeans, mean(rpois(10,3)))
}
hist(myMeans, main = NULL, xlab = expression(bar(x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment