look: Look at Informational Attributes

View source: R/utils.R

lookR Documentation

Look at Informational Attributes

Description

Inspect the informational attributes of objects.

Usage

look(x)

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.

Value

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

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

Examples

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)

## Not run: 
# OANDA API key required to run this example
prices <- oanda("USD_JPY")
look(prices)

## End(Not run)


ichimoku documentation built on May 23, 2022, 9:05 a.m.