"pafm" objectGeneric function of plot method for paFm. Either plot all assets or choose a single asset to plot.
# S3 method for pafm
plot(
x,
which.plot = c("none", "1L", "2L", "3L"),
max.show = 6,
date = NULL,
plot.single = FALSE,
fundName,
which.plot.single = c("none", "1L", "2L", "3L"),
...
)plot.pafm returns a plot for an object of class pafm.
object of class "pafm" created by
paFm.
Integer indicates which plot to create: "none" will
create a menu to choose. Defualt is none.
1 = attributed cumulative returns,
2 = attributed returns on date selected by user,
3 = time series of attributed returns
Maximum assets to plot. Default is 6.
Indicates for attributed returns, the date format should be xts compatible.
Plot a single asset of lm class. Defualt is FALSE.
Name of the portfolio to be plotted.
Integer indicates which plot to create: "none"
will create a menu to choose. Defualt is none.
1 = attributed cumulative returns,
2 = attributed returns on date selected by user,
3 = time series of attributed returns
more arguements for chart.TimeSeries used for plotting
time series
Yi-An Chen.