dat: Example dataset

Description Usage References Examples

Description

For demostration purpose, we provide an artificial dataset derived from a Chandra gratings observation of FK Com (ObsID 12298) with an extra background contamination.

Usage

1
data("dat")

References

Raymond K. W. Wong, Vinay L. Kashyap, Thomas C. M. Lee and David A. van Dyk (2016). Detecting Abrupt Changes in the Spectra of High-energy Astrophysical Sources. The Annals of Applied Statistics, 10(2), 1107-1134.

Examples

1
2
3
4
5
6
7
8
library(Automark)           # load library
data(dat)                   # load example data
y1 <- apply(dat$y, 1, sum)  # aggregate data over time
## Not run: 
out <- spec(dat$x2, y1, dat$A, dat$delta.t, dat$delta.w, reps=ncol(dat$y))
plotspec(dat$x2, out)

## End(Not run)

astrostat/Automark documentation built on Dec. 4, 2019, 12:30 a.m.