Generate plot(s) for a susy object.

# S3 method for 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

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))