Skip to content

Instantly share code, notes, and snippets.

@simon-anders
Created January 15, 2021 17:11
Show Gist options
  • Save simon-anders/e42d39598431b0ad0f6e6a1a58c72ae0 to your computer and use it in GitHub Desktop.
Save simon-anders/e42d39598431b0ad0f6e6a1a58c72ae0 to your computer and use it in GitHub Desktop.
# So zieht man 10000 Werte mit Mittelwert 178 und Standardabweichung 7:
rnorm( 10000, 178, 7 ) -> x
# Und so plotted man das Histogramm aller Werte in x
library( tidyverse)
tibble(x) %>% ggplot + geom_histogram(aes(x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment