Skip to content

Instantly share code, notes, and snippets.

View jtr13's full-sized avatar

Joyce Robbins jtr13

  • Columbia University
  • New York, NY
  • 13:13 (UTC -04:00)
  • X @jtrnyc
View GitHub Profile
@jtr13
jtr13 / .block
Created February 11, 2017 10:38
test
license: none
height:
scrolling: no
border: yes
@jtr13
jtr13 / head.list.R
Created January 9, 2018 22:14 — forked from pimentel/head.list.R
Slightly more sane head() for lists in R
catDf <- data.frame(meow = rnorm(100), purr = rpois(100, 3))
aList <- list(aVector = 1:20, aDf = catDf, anotherList = list(1:200, 1:20))
# annoying as hell, right?
head(aList)
#' Return the first or last part of a list
#'
#' Returns the first or last part of a list. Instead of returning the first
#' n entries as the standard head() does, it attempts to call head()
@jtr13
jtr13 / .block
Last active March 22, 2018 17:04
EDAV3
license: mit
@jtr13
jtr13 / .block
Last active April 19, 2018 01:58
fresh block
license: mit
@jtr13
jtr13 / .block
Last active April 19, 2018 02:34
fresh block
license: mit
@jtr13
jtr13 / .block
Last active April 19, 2018 18:45
fresh block
license: mit
@jtr13
jtr13 / .block
Created April 19, 2018 18:43
fresh block
license: mit
@jtr13
jtr13 / .block
Created April 19, 2018 22:45
fresh block
license: mit
@jtr13
jtr13 / .block
Created January 12, 2019 20:46
fresh block
license: mit
@jtr13
jtr13 / .block
Created April 19, 2019 00:21
fresh block
license: mit