diff --git a/README.Rmd b/README.Rmd index abbf271..b6faea5 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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 diff --git a/README.md b/README.md index 335cf79..e98b565 100644 --- a/README.md +++ b/README.md @@ -60,12 +60,19 @@ visualize.norm(1.96, section = "upper") ``` r -# Shift the mean and create a bounded range. +# Create a bounded range. visualize.norm(c(-1.96, 1.96), section = "bounded") ``` +``` r +# 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 Binomial distribution. diff --git a/man/figures/README-visualize-normal-4.png b/man/figures/README-visualize-normal-4.png new file mode 100644 index 0000000..980200d Binary files /dev/null and b/man/figures/README-visualize-normal-4.png differ