Learn R Programming

SUSY (version 0.1.0)

as.data.frame.susy: susy to data.frame conversion method

Description

Turns susy class object into a data.frame.

Usage

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

Value

Returns data.frame.

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.

See Also

susy

Examples

Run this code
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)

Run the code above in your browser using DataLab