Learn R Programming

SUSY (version 0.1.0)

print.susy: susy print method

Description

Prints information about an susy object.

Usage

# S3 method for susy
print(x, corr.no.abs=TRUE, legacy=FALSE, ...)

Value

Returns x invisibly. Display output to console as a side effect.

Arguments

x

A susy object.

corr.no.abs

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

legacy

Logical, defaults to FALSE, when TRUE print will produce an output that matches the output of legacy SUSY implementation.

...

Extra arguments passed to print.data.frame method.

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)
res
print(res, corr.no.abs=FALSE)
print(res, digits=4)
print(res, legacy=TRUE)

Run the code above in your browser using DataLab