legend.proportion {RGeostats}R Documentation

Legend for postplots

Description

Legend for postplots

Usage

legend.proportion(z, zmin=NA, zmax=NA, zamin=NA, zamax=NA, zrmin=NA, zrmax=NA, 
       include.bounds = TRUE,
       fg.low = "black", bg.low="black", pch.low=1, cex.low=0.4,
       fg.up="red", bg.up="red", pch.up=1, cex.up=0.4,
       col="blue", bg="blue", pch=1, cex0=0.1, cex1=1,
       inches=2, position="bottomleft",drawit=TRUE,...)

Arguments

z

Vector containing the data to be visualized

zmin,zmax

Lower and upper thresholds as defined by the user

zamin,zamax

Current lower and upper thresholds: they are equal to (zmin,zmax) unless one of these bounds is left undefined: in that case, the actual extremum is used.

zrmin,zrmax

Actual minimum and maximum values

include.bounds

When TRUE, the thresholds are excluded.

fg.low

Color for symbol representing a sample with value below the lower bound

bg.low

Color for filling the symbol representing a sample with value below the lower bound

pch.low

Symbol type for representing a sample with value below the lower bound

cex.low

Symbol size for representing a sample with value below the lower bound. If the size if set to zero, these samples are not plotted.

fg.up

Color for symbol representing a sample with value above upper bound

bg.up

Color for filling the symbol representing a sample with value above upper bound

pch.up

Symbol type for representing a sample with value above the upper bound

cex.up

Symbol size for representing a sample with value above the upper bound. If the size if set to zero, these samples are not plotted.

col

Color for symbol representing a sample with value between bounds

bg

Color for filling the symbol representing a sample with value between bounds

pch

Symbol type for representing a sample with value lying between bounds

cex0

Smallest symbol size used for representing samples whose target variable belongs to the interval [zmin,zmax].

cex1

Largest symbol size used for representing samples whose target variable belongs to the interval [zmin,zmax].

inches

Reference size for proportional representation. The sizes of the symbols vary from inches*0.1 to inches*1.

position

Location of the top-left corner of the legend.

drawit

When TRUE, the legend is actually represented. Otherwise, this legend function can simply be called to return the arguments from the internal standard legend function (see legend for details).

...

Arguments passed to function legend.

Details

The numerical values for the minimum and maximum values are printed together with the corresponding symbol. The number of digits is defined using the parameter 'ntdec' of the environment. See environ.print for more information.

See Also

legend.locate


[Package RGeostats version 14.0.10 Index]