print.ichimoku {ichimoku}R Documentation

print.ichimoku

Description

Custom print method for ichimoku objects.

Usage

## S3 method for class 'ichimoku'
print(x, plot = TRUE, ...)

Arguments

x

an object of class 'ichimoku'.

plot

set to TRUE by default. Set to FALSE to prevent automatic plotting of the ichimoku cloud chart.

...

other arguments to be passed along.

Details

This function is an S3 method for the generic function print() for class 'ichimoku'. It can be invoked by calling print(x) on an object 'x' of class 'ichimoku'.

Value

The ichimoku object 'x' passed as parameter.

Further Details

Please refer to the reference vignette by running: vignette("reference", package = "ichimoku")

Examples

cloud <- ichimoku(sample_ohlc_data, ticker = "TKR")

print(cloud, max = 110, row.names = FALSE, digits = 4)
print(cloud[100:110,], plot = FALSE, row.names = FALSE, digits = 4)


[Package ichimoku version 0.1.2 Index]