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@r-project.org 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.