(no subject)
You don't have enough closing parentheses. Using a text editor written for programmers helps a lot because it will highlight that kind of error. Sarah
On Friday, April 1, 2016, MEHER DIVYA BARATAM <meherdivya4 at gmail.com> wrote:
dear sir/madam,
while i am trying to convert the data into timeseries
using xts command.i am getting this error. please help me to resolve this
issue
xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
+ xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
Error: unexpected symbol in:
"xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
xts"
thanks and regards
divya
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org <javascript:;> mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Sarah Goslee http://www.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]]