Learn R Programming

highfrequency (version 1.0.1)

print.DBH: Printing method for DBH objects

Description

Printing method for DBH objects

Usage

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

Arguments

x

an object of class DBH

...

optional arguments, see details

Author

Emil Sjoerup

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

Examples

Run this code
if (FALSE) {
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
}

Run the code above in your browser using DataLab