print.susy: susy print method

View source: R/susy.R

print.susyR Documentation

susy print method

Description

Prints information about an susy object.

Usage

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

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.

Value

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

See Also

susy

Examples

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)

SUSY documentation built on Nov. 24, 2022, 9:05 a.m.