Algorithmic Trading Group Forum
https://www.algotradinggroup.com/cgi-bin/yabb2/YaBB.pl
Trading Strategies >> Development >> R error: formal argument "col" matched by multiple
https://www.algotradinggroup.com/cgi-bin/yabb2/YaBB.pl?num=1327144781

Message started by Algo Designer on 01/21/12 at 11:19:41

Title: R error: formal argument "col" matched by multiple
Post by Algo Designer on 01/21/12 at 11:19:41

After updating xts package in R, I encountered the following problem:


Code:
> plot(equity, col = "blue")
Error in axis(1, at = xycoords$x, labels = FALSE, col = "#BBBBBB", ...) :
 formal argument "col" matched by multiple actual arguments


Here is a workaround:


Code:
> plot(equity)
> lines(equity, col = "blue")


Algorithmic Trading Group Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.