plot.SpdPermTest: Plot result of mark permutation test of SPDs

Description Usage Arguments See Also

View source: R/plots.R

Description

Visualises the observed SPD along with the simulation envelope generated from permTest, with regions of positive and negative deviations highlighted in red and blue.

Usage

1
2
3
4
5
## S3 method for class 'SpdPermTest'
plot(x, focalm = "1", calendar = "BP",
  xlim = NA, ylim = NA, col.obs = "black", col.env = rgb(0, 0, 0,
  0.2), lwd.obs = 0.5, xaxs = "i", yaxs = "i", bbty = "f",
  drawaxes = TRUE, ...)

Arguments

x

A SpdPermTest class object. Result of random mark permutation test (see permTest)

focalm

Value specifying the name of the focal mark (group) to be plotted.

calendar

Either 'BP' or 'BCAD'. Indicate whether the calibrated date should be displayed in BP or BC/AD. Default is 'BP'.

xlim

the x limits of the plot. In BP or in BC/AD depending on the choice of the parameter calender. Notice that if BC/AD is selected BC ages should have a minus sign (e.g. c(-5000,200) for 5000 BC to 200 AD).

ylim

the y limits of the plot.

col.obs

Line colour for the observed SPD

col.env

Colour for the simulation envelope

lwd.obs

Line width for the observed SPD

xaxs

The style of x-axis interval calculation (see par)

yaxs

The style of y-axis interval calculation (see par)

bbty

Display options; one between 'b','n',and 'f'. See details in plot.SpdModelTest.

drawaxes

A logical value determining whether the axes should be displayed or not. Default is TRUE.

...

Additional arguments affecting the plot

See Also

permTest; plot.SpdModelTest;


rcarbon documentation built on Oct. 1, 2018, 5:03 p.m.