graphnp: Plot of exponential power distributions

Description Usage Arguments Details Value Author(s) Examples

View source: R/graphnp.R

Description

The function graphnp returns on the same device, marked with different colours, from one to five exponential power distributions.

Usage

1
graphnp(p=c(1,2,3,4,5), mu=0, sigmap=1, title="Exponential Power Distributions")

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 function 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

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

Example output



normalp documentation built on Feb. 14, 2020, 5:08 p.m.