plot.susy {SUSY}R Documentation

susy plot method

Description

Generate plot(s) for a susy object.

Usage

  ## S3 method for class 'susy'
plot(x, type=c(4, 5), ...)

Arguments

x

A susy object.

type

Numeric, specifies the types of plot, defaults to c(4, 5).

  1. GMcrosscorrs

  2. synchrony by segments

  3. GM-Z

  4. time series plot

  5. Z not abs

...

Ignored.

Details

Method can generate multiple types of plots by providing numeric vector to type argument. Note it will generate plots for each pair (cross computation) in x, so the final number of plots is length(x) * length(type).

Value

Returns NULL invisibly. Generate plot(s) as a side effect.

See Also

susy

Examples

n = 1000
data = data.frame(
  var1 = runif(n, 300, 330),
  var2 = runif(n, 300, 330),
  var3 = runif(n, 300, 330)
)
res = susy(data, segment=30L, Hz=15L, permutation=TRUE)
plot(res, type=c(3,5))

[Package SUSY version 0.1.0 Index]