Plotting Toy Market Objects

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.