Skip to content

Commit

Permalink
Update readme image
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Nov 13, 2023
1 parent 8bacc04 commit b9c1460
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ the normal distribution can be shown with:
visualize.norm(1.96)
# Change the location of the tail
visualize.norm(1.96, section = "upper")
# Shift the mean and create a bounded range.
# Create a bounded range.
visualize.norm(c(-1.96, 1.96), section = "bounded")
# Highlight both tails
visualize.norm(c(-1.96, 1.96), section = "tails")
```

The parameters of the distribution can also be modified. Take for example the
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,19 @@ visualize.norm(1.96, section = "upper")
<img src="man/figures/README-visualize-normal-2.png" width="50%" />

``` r
# Shift the mean and create a bounded range.
# Create a bounded range.
visualize.norm(c(-1.96, 1.96), section = "bounded")
```

<img src="man/figures/README-visualize-normal-3.png" width="50%" />

``` r
# Highlight both tails
visualize.norm(c(-1.96, 1.96), section = "tails")
```

<img src="man/figures/README-visualize-normal-4.png" width="50%" />

The parameters of the distribution can also be modified. Take for
example the Binomial distribution.

Expand Down
Binary file added man/figures/README-visualize-normal-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b9c1460

Please sign in to comment.