是否可以将performanceanalytics包中的图表对象保存到一个类似于ggplot2或lattice图表的对象中?
例如this snail trail chart。
发布于 2014-10-31 15:59:46
简短的回答是否定的。
如果你看一下chart.SnailTrail的源代码,你会发现它使用了基本的绘图功能(例如plot.new(),points(),segments(),text(),axis(),title(),legend())。
当然,您也可以使用ggplot2函数重写函数。如果您这样做了,我建议在您自己的包或PerformanceAnalytics包中提供新函数作为您的问题的答案。
https://stackoverflow.com/questions/26669030
复制相似问题