plot.dissimilarities {analogue}R Documentation

Plots the distribution of extracted dissimilarities

Description

Produces a plot of the distribution of the extracted dissimilarities and a reference normal distribution with comparable mean and sd.

Usage

## S3 method for class 'dissimilarities':
plot(x, prob = 0.05,
     legend = TRUE, n.rnorm = 1e+05, col = "black",
     col.ref = "red", lty = "solid", lty.quant = "dotted",
     xlab = NULL, ylab = NULL, main = NULL, sub = NULL, ...)

Arguments

x an object of class "dissimilarities".
prob numeric; density probability defining the threshold for close modern analogues.
legend logical; draw a legend on the plotted figure?
n.rnorm numeric; number of random normal deviates for reference line.
col, col.ref colours for the dissimilarity and reference density functions drawn.
lty, lty.quant line types for the dissimilarity and reference density functions drawn.
xlab, ylab character; x- and y-axis labels.
main, sub character; main and subtitle for the plot.
... graphical arguments passed to other graphics functions.

Value

A plot on the currently active device.

Author(s)

Gavin L. Simpson

See Also

dissimilarities

Examples

## continue the RLGH example from ?join
example(join)

## analog matching between SWAP and RLGH core
swap.analog <- analog(swapdiat, rlgh, method = "chord")

## compare training set dissimilarities with normals
## and derive cut-offs
swap.dissim <- dissim(swap.analog)
plot(swap.dissim)

[Package analogue version 0.6-6 Index]