StatDA (version 1.7.4)

ppplot.das: PP plot

Description

This function computes a PP (Probability-Probability) plot for the given dataset.

Usage

ppplot.das(x, pdist = pnorm, xlab = NULL, ylab = "Probability", line = TRUE, 
        lwd = 2, pch = 3, cex = 0.7, cex.lab = 1, ...)

Arguments

x

dataset

pdist

the distribution function

xlab, ylab, lwd, pch, cex, cex.lab

graphical parameters

line

if a regression line should be added

further parameters for the probability function

Details

The empirical probability is calculated and compared with the comparison distribution.

References

C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.

Examples

Run this code
# NOT RUN {
data(AuNEW)
ppplot.das(AuNEW,pdist=plnorm,xlab="Probability of Au",
     ylab="Probabilities of lognormal distribution", pch=3,cex=0.7)
# }

Run the code above in your browser using DataLab