R/strsplitslot.R

Defines functions strsplitslot

strsplitslot <- 
  function(x,k=1,str = ";",strreplace = ";",...){
    unlist(sapply(strsplit(as.character(x),split = str,...),function(x){paste(x[k],collapse = strreplace)}))
}

Try the mqqc package in your browser

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

mqqc documentation built on July 30, 2020, 3 p.m.