Skip to content

Instantly share code, notes, and snippets.

@verajosemanuel
Last active November 14, 2017 09:32
Show Gist options
  • Save verajosemanuel/d82702ba4a46f1c35846c45c72de40b2 to your computer and use it in GitHub Desktop.
Save verajosemanuel/d82702ba4a46f1c35846c45c72de40b2 to your computer and use it in GitHub Desktop.
head-tail #function for dataframes. Place it in .Rprofile to be available anytime in #Rstudio
ht <- function(d) rbind(head(d,5), tail(d,5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment