plot.toymkt: Plotting Toy Market Objects

Description Usage Arguments Details See Also Examples

Description

The function plot.toymkt produces several plots of a toymkt object.

Usage

1
2
## S3 method for class 'toymkt'
plot(x, ...)

Arguments

x

a toymkt object.

...

further arguments such as main.

Details

Four plots are produced: (i) time series of prices, (ii) time series of log returns, (iii) time series of benchmark weights, and (iv) time series of Shannon entropy (see ShannonEntropy) of the benchmark weights. Default settings are used for these plots, so they may not be informative if the number of assets is large.

See Also

toymkt

Examples

1
2
3
data(EuStockMarkets)
market <- toymkt(price = EuStockMarkets)
plot(market)


Search within the RelValAnalysis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.