plot.skyscapeR.sigTest: Plot significance test results

Description Usage Arguments See Also Examples

View source: R/plotting.R

Description

This function creates a plot of the results of significance test

Usage

1
2
3
## S3 method for class 'skyscapeR.sigTest'
plot(sig, obj, col = "blue", xrange,
  show.pval = T, show.local = F, legend = F)

Arguments

sig

Object of skyscapeR.sigTest format, created using sigTest.

obj

(Optional) A skyscapeR.object object created with sky.objects for displaying the declination of celestial objects.

col

(Optional) Colour to plot the curvigram in. Defaults to blue.

xrange

(Optional) Array of two values restricting the horizontal range of the plot.

show.pval

(Optional) Boolean to control whether the global p-value is written. Default is True.

show.local

(Optional) Boolean to control whether the local regions of significance are plotted. Default is False.

legend

(Optional) Show legend. Defaults to FALSE.

See Also

sigTest

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
mag.az <- c(89.5, 105, 109.5)
data <- reduct.compass(loc, mag.az, "2016/04/02", alt=c(1,2,0))
data$Azimuth.Uncertainty <- 2  # adds the information on the preision of the azimuthal meaurement
sig <- sigTest(data)

plot(sig, show.local=T)

## End(Not run)

f-silva-archaeo/skyscapeR documentation built on Jan. 22, 2019, 8:11 a.m.