This method plots a standard Lomb-Scargle periodogram, which contains the amplitude
A and the false alarm probability p.
# S3 method for lomb
plot(x, FAPcol = 1, FAPlwd = 1, FAPlty = "dashed",
FAPlim = c(1, 0.001), FAPlab = "FAP", legend.pos = "topleft",
legend.cex = 1, legend.on = T, legend.text = c("Spectrum",
"False Alarm Propability"), legend.lwd = NULL, legend.lty = NULL,
legend.col = NULL, xlab = "Frequency", ylab = "Amplitude", main = "",
...)object of class lomb
color of the FAP line
line width of the FAP line
line type for the FAP graph
limits to the FAP
label of the right vertical axis
position of the legend
cex value for the legend
logical, wheater to draw a legend or not
legend text
line width
line type
color vector of the legend elements
a label for the x axis, defaults to a description of x.
a label for the y axis, defaults to a description of y.
setting the title of the plot
further parameters to the plot function
The plot.lomb function is a wrapper function for R's standard scatter plot
To switch off certain properties, simply overwrite the parameter. For example
log = "" will reset the plot axis back to non-log scale.
# NOT RUN {
# See spec.lomb
# }
Run the code above in your browser using DataLab