parts of a line graph r reverse column order