Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.ichimoku

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)

ichimoku

Compute and Plot Ichimoku Kinko Hyo Cloud Charts

v0.1.2
GPL (>= 3)
Authors
Charlie Gao [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.