graphnp {normalp}R Documentation

Plot of Normal of order p distributions

Description

The function graphnp returns on the same device, marked with different colours, from one to five normal of order p curves.

Usage

graphnp(p=c(1,2,3,4,5), mu=0, sigmap=1, title="Normal of order p curves")

Arguments

p A vector of p values. His length must be maximum five.
mu Value of the location parameter.
sigmap Value of the scale parameter.
title The title of the plot.

Details

If one or more values of p are greater than or equal to 50, graphnp will plot the density of an uniform distribution.

Value

A graphic device with till five different curves. The curves have different colours and the device is completed by a legend.

Author(s)

Angelo M. Mineo

Examples

## Plot four different curves with p=1,2,3,4
## and 50 (it will plot a uniform distribution)
graphnp(c(1:4,50))

[Package Contents]