[r] Referencing Row Number in R