plot.toymkt: Plotting Toy Market Objects

Description Usage Arguments Details See Also Examples

View source: R/toymarket.R

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)

RelValAnalysis documentation built on May 29, 2017, 4:19 p.m.

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