plot.condprob: Function to plot condprob object

Description Usage Arguments References

Description

This function plots a condprob object and creates a plot similar to Figure 1 in Hollister et al. (2008). This includes a simple scatter plot of the raw stressor vs the raw response, a cumulative distribution function for all of the data, the impaired sites, and the unimpaired sites, and a conditional probability plot with the conditional probability on the y-axis the stressor on the x-axis.

Usage

1
2
## S3 method for class 'condprob'
plot(cpobj, ...)

Arguments

cpobj

An object of class condprob is required. Data and parameters from this object are used to create the plot

...

Used primarily to pass other ggplot2 plotting options to control title, axis labels, colors, size, etc.

References

Hollister, J. W., J. F. Paul, and H. A. Walker (2008). CProb: A Computational Tool for Conducting Conditional Probability Analysis. Journal of Environmental Quality. 37(6):2392-2396. Link


jhollist/condprob2 documentation built on May 19, 2019, 9:27 a.m.