Usage
map.eda8(xx, yy, zz, sfact = 1, xlab = "Easting", ylab = "Northing",
zlab = deparse(substitute(zz)), main = "", ifgrey = FALSE,
symcolr = NULL, tol = 0.04, iflgnd = FALSE, pctile = FALSE,
title = deparse(substitute(zz)), ...)
Arguments
xx
name of the x-axis spatial coordinate, the eastings.
yy
name of the y-axis spatial coordinate, the northings.
zz
name of the variable to be plotted.
sfact
controls the absolute size of the plotted symbols, by default sfact = 1
. Increasing sfact results in larger symbols.
xlab
a title for the x-axis, defaults to Easting
.
ylab
a title for the y-axis, defaults to Northing
.
zlab
by default, zlab = deparse(substitute(zz))
, a map title is generated by appending the input variable name text string to "EDA Percentile Based Map for "
. Alternative titles may be generated, see Details below.
main
an alternative map title, see Details below.
ifgrey
set ifgrey = TRUE
if a grey-scale map is required, see Details below.
symcolr
the default is a colour map and default colours are provided, deeper blues for lower values, green for the middle 50% of the data, and oranges and reds for higher values. A set of alternate symbol colours can be provided by defining symcolr
,
tol
a parameter used to ensure the area included within the neatline around the map is larger than the distribution of the points so that the plotted symbols fall within the neatline. By default tol = 0.04
, if more clearance is required increase
iflgnd
the default is no legend. If a legend is required set iflegnd = TRUE
, following the plotting of the data the cursor will be activated, locate that at the top left corner of the desired legend position and left button on the
pctile
the default legend displays the range of values each symbol represents. If pctile = TRUE
the range of percentiles will be displayed instead of their actual values.
title
a short title for the legend, e.g., title = "Cu (mg/kg"
. The default is the variable name.
...
further arguments to be passed to methods. For example, if it is required to make the map title smaller, add cex.main = 0.9
to reduce the font size by 10%.