Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
またはチャートperformanceanalyticsでできるように、チャートオブジェクトをパッケージからオブジェクトに保存することは可能ですか?ggplot2lattice
performanceanalytics
ggplot2
lattice
たとえば、このカタツムリ トレイル チャート.
短い答えはノーです。
のソース コードを見ると、chart.SnailTrail基本的なプロット機能を使用していることがわかります (例: plot.new()、points()、segments()、text()、) 。axis()title()legend()
chart.SnailTrail
plot.new()
points()
segments()
text()
axis()
title()
legend()
もちろん、ggplot2代わりに関数を使用して関数を書き換えることもできます。そうする場合は、新しい関数を質問への回答として、独自のパッケージまたはパッケージで利用できるようにすることをお勧めしPerformanceAnalyticsます。
PerformanceAnalytics