R/ss.R

ss = function(x, pattern, slot=1, ...){
    sapply(strsplit(x,pattern,...), "[", slot)  
}

strip_quotes = function(x){
    substr(x, 2, nchar(x)-1)
}
alyssafrazee/ballgown-release documentation built on May 12, 2019, 1:40 a.m.