Important: The stats package has been deprecated. Use the superseding package Statistics instead.
>
|
|
>
|
|
>
|
|
Some randomly generated numbers:
>
|
|
Here is a more advanced example. Data2 was generated via a standard normal random number generator. We want to plot a histogram of this and also have the theoretical distribution.
>
|
|
frequencies:
>
|
|
default: probability histogram, equal area regions
>
|
|
>
|
|
probability histogram, with equal width regions, and overlay theoretical
>
|
|
>
|
|
>
|
|
>
|
|