Learn R Programming

ichimoku (version 1.5.5)

look: Look at Informational Attributes

Description

Inspect the informational attributes of objects.

Usage

look(x = .Last.value)

Value

For objects created by the ichimoku package, a list of attributes specific to that data type.

For other objects, a list of non-standard attributes for matrix / data.frame / xts classes, or else invisible NULL if none are present.

Arguments

x

an object (optional). If ‘x’ is not supplied, .Last.value will be used instead.

Details

Note: autostrat list attributes may be accessed directly using look(x)$logret and look(x)$summary.

Examples

Run this code
cloud <- ichimoku(sample_ohlc_data, ticker = "TKR")
look(cloud)

stratlist <- autostrat(cloud, n = 3)
look(stratlist)

strat <- stratlist[[1]]
look(strat)

grid <- mlgrid(cloud)
look(grid)

if (FALSE) {
# OANDA API key required to run this example
prices <- oanda("USD_JPY")
look(prices)
}

Run the code above in your browser using DataLab