R/ss.R

Defines functions strip_quotes ss

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

strip_quotes = function(x){
    substr(x, 2, nchar(x)-1)
}

Try the ballgown package in your browser

Any scripts or data that you put into this service are public.

ballgown documentation built on Nov. 8, 2020, 5:46 p.m.