Usage
cnpplt(xx, xlab = deparse(substitute(xx)),
ylab = "% Cumulative Probability", log = FALSE, xlim = NULL,
main = "", ifqs = FALSE, ifshape = FALSE, pch = 3,
cex = 0.8, cexp = 1, cex.axis = 0.8, ...)
Arguments
xx
name of the variable to be plotted.
xlab
a title for the x-axis. It is often desirable to replace the default x-axis title of the input variable text string with a more informative title, e.g., xlab ="Cu (mg/kg) in <2 mm="" o-horizon="" soil"<="" code="">.2>
ylab
a title for the y-axis, defaults to "% Cumulative Probability".
log
if it is required to display the data with logarithmic (x-axis) scaling, set log = TRUE
.
xlim
when used in the shape
function, xlim
is determined by function gx.hist
and used to ensure all four panels in
main
when used stand-alone a title may be added optionally above the plot by setting main
, e.g., main = "Kola Ecogeochemistry Project, 1995"
.
ifqs
setting ifqs = TRUE
results in horizontal and vertical dotted lines being plotted at the three central quartiles and their values, respectively.
ifshape
when used with function shape
or caplot
to plot into a panel set ifshape = TRUE
to ensure only essential probability scale axis labels are displaye pch
by default the plotting symbol is set to a plus, pch = 3
, alternate plotting symbols may be chosen from those displayed by display.marks
. cex
by default the size of the text for data set size, N, is set to 80%, i.e. cex = 0.8
, and may be changed if required.
cexp
by default the size of the plotting symbol, pch
, is set to 100%, and may be changed if required.
cex.axis
if overplotting occurs in the y-axis labelling the size of the y-axis labels may be reduced by setting cex.axis
to a number smaller than the default of cex.axis = 0.8
.
...
further arguments to be passed to methods. For example, the size of the axis titles by setting cex.lab
, and the size of the plot title by setting cex.main
. For example, if it is required to make the plot title smaller, add