| tapers-methods | R Documentation | 
'tapers'Generic methods for objects with class 'tapers'
## S3 method for class 'tapers'
as.data.frame(x, ...)
data.frame.tapers(x, ...)
## S3 method for class 'tapers'
print(x, ...)
## S3 method for class 'tapers'
summary(object, ...)
## S3 method for class 'summary.tapers'
print(x, ...)
## S3 method for class 'tapers'
lines(x, lwd = 1.8, col = "red", ...)
## S3 method for class 'tapers'
points(x, pch = "_", cex = 1, ...)
## S3 method for class 'tapers'
plot(
  x,
  xi = NULL,
  color.pal = c("Blues", "Spectral"),
  ylim = NULL,
  hv.lines = FALSE,
  log.y = FALSE,
  xlab = "taper index",
  ylab = "number of tapers",
  ...
)
| x | tapers object | 
| ... | optional arguments | 
| object | tapers object | 
| lwd | line width (default is 1.8) | 
| col | color of line (default is "red") | 
| pch | point character (default is "_") | 
| cex | point size (default is 1) | 
| xi | optional vector for indices of  | 
| color.pal | color palette to use (choices are: "Blues","Spectral") | 
| ylim | optional limits for y-axis | 
| hv.lines | logical; should horizontal (log2) and vertical reference lines be plotted? | 
| log.y | logical; should the vertical scale be logarithmic? | 
| xlab,ylab | character; labels for plot axes | 
plot returns a list with names: line.colors (hex values)
A.J. Barbour
as.tapers, constrain_tapers
##
tap <- as.tapers(c(1:49,50:0)+rnorm(1e2))
print(tap)
print(summary(tap))
plot(tap)
# no arithmetic methods
tap <- as.tapers(tap/2)
lines(tap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.