draw.proportion {RGeostats}R Documentation

Proportional representation

Description

Proportional representation

Usage

draw.proportion(x, y, z, zmin = NA, zmax = NA, 
include.bounds = TRUE, inches = 2, 
fg.low = 1, bg.low = 1, pch.low=1, cex.low=0.1,
fg.up = 3, bg.up = 3, pch.up=1, cex.up=1.0,
col = 2, bg = 2, pch=1, cex0 = 0.1, cex1 = 1.0,
flag.abs = FALSE, pos.legend=0, ...)

Arguments

x

Array giving the coordinates of the samples along X

y

Array giving the coordinates of the samples along Y

z

Array giving the target variable

zmin

Minimum acceptable value for the target variable.

zmax

Maximum acceptable value for the target variable.

include.bounds

When TRUE, the limiting bounds are included

inches

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

fg.low

Color of the symbol foreground for samples whose target variable is smaller than zmin

bg.low

Color of the symbol background for samples whose target variable is smaller than zmin

pch.low

Symbol type for representing for samples whose target variable is smaller than zmin

cex.low

Symbol size for representing for samples whose target variable is smaller than zmin. If the size if set to zero, these samples are not plotted.

fg.up

Color of the symbol foreground for samples whose target variable is larger than zmax

bg.up

Color of the symbol background for samples whose target variable is larger than zmax

pch.up

Symbol type for representing samples whose target variable is larger than zmax

cex.up

Symbol size for representing samples whose target variable is larger than zmax. If the size if set to zero, these samples are not plotted.

col

Color of the symbol foreground for the samples whose target variable lies within the bounds

bg

Color of the symbol background for the samples whose target variable lies within the bounds

pch

Symbol type for representing samples whose target variable lies between the 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].

flag.abs

When TRUE, the absolute value of the target variable is considered

pos.legend

Position of the optional legend. See legend.locate for details.

...

Additional arguments passed to function points and legend.proportion.

Details

When representing symbols for variable lying within [zmin,zmax], the symbol size is calculated by the following formula: cex0 + (cex1 - cex0) * (z - zmin) / (zmax - zmin)


[Package RGeostats version 11.1.2 Index]