tapers-methods: Generic methods for objects with class "tapers"

Description Usage Arguments Value Author(s) See Also Examples

Description

Generic methods for objects with class 'tapers'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## 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, ...)

Arguments

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 x

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?

Value

plot returns a list with names: line.colors (hex values)

Author(s)

A.J. Barbour

See Also

as.tapers, constrain_tapers

Examples

1
2
3
4
5
6
7
8
##
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)

williamdeleo/psd documentation built on May 29, 2019, 11:58 a.m.