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 |
type |
Numeric, specifies the types of plot, defaults to
|
... |
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))
[Package SUSY version 0.1.0 Index]