cdf.plot() of
cdfPlot(obj, ind, units.cdf = "percent", type.plot = "s",
type.cdf = "continuous", logx = "", xlbl = NULL,
ylbl = "Percent", ylbl.r = NULL, figlab = NULL,
legloc = "BR", confcut = 5, show.conflev = TRUE, conflev = 95,
show.param = TRUE, round = 0, col.param = "black", ...)type.cdf = "continuous"."" or "x" that
controls whether the x axis uses the original scale ("") or the
base 10 logarithmic scale ("x"). Defaults to logx = "".NULL, then the indicator name is used as the label. Defaults to
xlbl = NULL.ylbl = "Percent".ylbl.r = NULL means a label is not created, and
ylbl.r = "Same" means the label is the same as the left side label
(i.e., argument ylblfiglab = NULL.legloc = "BR"
means bottom right, legloc = "BL" means bottom left,
legloc = "TR" means top right, and legloc = "TL" means top
left. Defaults confcut or greater than 100 minus confcut are not plotted.
A value of zero means conflev = 95.plot(). See cont.analysis() of cont.analysis().type.plot = "l", for type.plot = "s" for
type.plot = "s"<conflev.
The legend displays de actual values of all
three parameters, including the standard col.param = "black".show.conflev = TRUE.type.plot is used only when type.cdf = "Continuous".Care should be taken with possible conflicts between the arguments of the
original function cdf.plot and those passed to
plot() using .... The existence of conflicts between these two
functions was one of the reasons for creating this new implementation.
Diaz-Ramos, S., D.L. Stevens, Jr., and A.R. Olsen. (1996). EMAP Statistical Methods Manual. EPA/620/R-96/XXX. Corvallis, OR: U.S. Environmental Protection Agency, Office of Research and Development, National Health Effects and Environmental Research Laboratory, Western Ecology Division.
Kincaid, T. M. and Olsen, A. R. (2013)
spsurvey: Spatial Survey Design and Analysis.
R package version 2.6. URL:
cdf.plot.## Estimate the CDF
my.cdf <- cont.analysis(spsurvey.obj = my.spsurvey)
## See indicator levels in the resulting object
levels(my.cdf$Pct$Indicator)
## Plot CDF
cdfPlot(obj = my.cdf, ind = "dz", figlab = "",
xlbl = "Difference (m)", xlim = c(-30, 10), type.plot = "s")Run the code above in your browser using DataLab