Select first or last rows of a data frame

  • Select the top of a data frame
  • Select the bottom of a data frame
  • Specify the number of lines to select through the parameter n
head(___, n = ___)
tail(___, n = ___)
View Interactive Version
Select first or last rows of a data frame