coredata | R Documentation |
Method for extracting the core data matrix of ichimoku objects.
## S3 method for class 'ichimoku'
coredata(x, fmt, ...)
x |
an object of class ‘ichimoku’. |
fmt |
(optional) set to TRUE to retain the index as row names of the
returned matrix, or a character string passed on to the ‘format’
argument of |
... |
arguments passed to or from other methods. |
This function is an S3 method for the generic function coredata() for class ‘ichimoku’. It can be invoked by calling coredata(x) on an object ‘x’ of class ‘ichimoku’.
A numeric matrix containing the ichimoku object data, stripped of the index unless ‘fmt’ is specified in which case the index will be retained as character values in the matrix row names.
cloud <- ichimoku(sample_ohlc_data)
coredata(cloud)[101:120, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.