Turns susy class object into a data.frame.

# S3 method for susy
as.data.frame(x, row.names=NULL, optional=FALSE, corr.no.abs=TRUE, ...)

Arguments

x

A susy object.

row.names

Ignored, only for consistency to generic as.data.frame method.

optional

Ignored, only for consistency to generic as.data.frame method.

corr.no.abs

Logical, defaults to TRUE display correlation without the absolute value.

...

Ignored.

Value

Returns data.frame.

See also

Examples

n = 1000
data = data.frame(
  var1 = runif(n, 300, 330),
  var2 = runif(n, 300, 330)
)
res = susy(data, segment=30L, Hz=15L)
as.data.frame(res)
#>   Var1 Var2 n(data)          Z   Z-Pseudo      SD(Z) SD(Z-Pseudo) n(lags)
#> 1 var1 var2    1000 0.03723344 0.03461199 0.02009639   0.02125947      91
#>   %>Pseudo n(Segmente)        ES   Z(lead1)   Z(lead2)   ES(lead1) ES(lead2)
#> 1 53.84615           2 0.1233073 0.03751177 0.03669134 -0.03483378  0.316412
#>   meanZ(in-phase) meanZ(anti-phase) Anzahl(in-phase) Anzahl(anti-phase)
#> 1       0.0275836       -0.02172748               54                 37
#>      Z(noAbs) Z(Pseudo-noAbs) %>Pseudo(noAbs) ES(noAbs)
#> 1 0.007534041     0.002930798        53.84615 0.1416152