I have a database in which I use reshape package.
The variables are Date, Company Name, Price.
I made it data.frame and call it Price.Per.Share
My programming was as follows:
md<-melt(Price.Per.Share,id=c("Company Name","Date")) a<-cast(md,Date~Company Name)
And it is in this last line that the following error appears:
Error: unexpected symbol in "a