draw.proportion {RGeostats}R Documentation

Proportional representation

Description

Proportional representation

Usage

draw.proportion(x, y, z, elev, zmin = NA, zmax = NA, 
                include.bounds = TRUE, inches = 2, 
                fg.low = "black", bg.low = "black", pch.low=1, cex.low=0.1,
                fg.up = "red", bg.up = "red", pch.up=1, cex.up=1.0,
                col = "blue", bg = "blue", 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

elev

Array giving the values of the samples (only used for RGL representation)

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. If not provided as a constant value, the color assigned to each sample is interpolated.

bg

Color of the symbol background for the samples whose target variable lies within the bounds. If not provided as a constant value, the colors assigned to each sample is interpolated.

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:

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 14.0.10 Index]