Skip to content
Prev 252005 / 398500 Next

r help for growth rate

On 02/28/2011 07:49 PM, Muzna Alvi wrote:
Hi Muzna,
Try quoting those column names, otherwise the interpreter will think you 
are asking it to do simple arithmetic:

ricefile1$areachange<-
  100*(ricefile1$'1990'-ricefile1$'1960')/ricefile1$'1990'

Jim