print.DBH: Printing method for 'DBH' objects

View source: R/driftBursts.R

print.DBHR Documentation

Printing method for DBH objects

Description

Printing method for DBH objects

Usage

## S3 method for class 'DBH'
print(x, ...)

Arguments

x

an object of class DBH

...

optional arguments, see details

Details

The print method has the following optional parameters:

  • criticalValue A numeric denoting a custom critical value of the test.

  • alpha A numeric denoting the confidence level of the test. The alpha value is passed on to getCriticalValues. The default value is 0.95

Author(s)

Emil Sjoerup

Examples


## Not run: 
DBH <- driftBursts(sampleTDataEurope, testTimes = seq(32400 + 900, 63000, 300), preAverage = 2, 
                   ACLag = -1L, meanBandwidth = 300L, varianceBandwidth = 900L)
print(DBH)
print(DBH, criticalValue = 1) # This value doesn't make sense - don't actually use it!
print(DBH, alpha = 0.95) # 5% confidence level - this is the standard
print(DBH, alpha = 0.99) # 1% confidence level

## End(Not run)


highfrequency documentation built on Oct. 4, 2023, 5:08 p.m.