powered by
The function graphnp returns on the same device, marked with different colours, from one to five exponential power distributions.
graphnp
graphnp(p=c(1,2,3,4,5), mu=0, sigmap=1, title="Exponential Power Distributions")
A graphic device with till five different curves. The curves have different colours and the device is completed by a legend.
A vector of \(p\) values. His length must be maximum five.
Value of the location parameter.
Value of the scale parameter.
The title of the plot.
Angelo M. Mineo
If one or more values of p are greater than or equal to 50, graphnp will plot the density function of an uniform distribution.
p
## Plot four different curves with p=1,2,3,4 ## and 50 (it will plot an uniform distribution) graphnp(c(1:4,50))
Run the code above in your browser using DataLab