ppplot.das: PP plot

View source: R/ppplot-das.R

ppplot.dasR Documentation

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.

Value

No return value, creates a plot.

Author(s)

Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://cstat.tuwien.ac.at/filz/

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

data(AuNEW)
ppplot.das(AuNEW,pdist=plnorm,xlab="Probability of Au",
     ylab="Probabilities of lognormal distribution", pch=3,cex=0.7)

StatDA documentation built on June 7, 2023, 6:26 p.m.

Related to ppplot.das in StatDA...