Skip to content

Commit

Permalink
added random_numbers4 (binomial)
Browse files Browse the repository at this point in the history
  • Loading branch information
pragativprasad committed Mar 18, 2024
1 parent 613bea4 commit 6cef983
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 0 deletions.
9 changes: 9 additions & 0 deletions code/01_make_output.R
Expand Up @@ -25,3 +25,12 @@ saveRDS(
random_numbers3,
file = here::here("output", "random_numbers3.rds")
)

set.seed(4)
random_numbers4 <- rbinom(100, 1, 0.25)

saveRDS(
random_numbers4,
file = here::here("output", "random_numbers4.rds")
)

Binary file added output/random_numbers1.rds
Binary file not shown.
Binary file added output/random_numbers2.rds
Binary file not shown.
Binary file added output/random_numbers3.rds
Binary file not shown.
Binary file added output/random_numbers4.rds
Binary file not shown.
10 changes: 10 additions & 0 deletions report.Rmd
Expand Up @@ -26,6 +26,9 @@ random_numbers2 <- readRDS(
random_numbers3 <- readRDS(
here::here("output/random_numbers3.rds")
)
random_numbers4 <- readRDS(
here::here("output/random_numbers4.rds")
)
```

# Random numbers 1
Expand All @@ -48,3 +51,10 @@ hist(random_numbers2)
#| fig.cap = "Third set of random numbers"
hist(random_numbers3)
```

# Random numbers 4

```{r, random-numbers4-histogram}
#| fig.cap = "Fourth set of random numbers"
hist(random_numbers4)
```
438 changes: 438 additions & 0 deletions report.html

Large diffs are not rendered by default.

0 comments on commit 6cef983

Please sign in to comment.