0

I am working in a dataframe in R and I want to access the last 5 objects of a particular column in a dataframe.How do i go about it??

1 Answers1

3

One option is tail(dataframe$column, 5)

nghauran
  • 6,648
  • 2
  • 20
  • 29