R/fixpaste.R

Defines functions fixpaste

Documented in fixpaste

fixpaste <-
function(x,fix)
# fixpaste() - paste elements of vector x onto a fixed character
{
  xfix <- rep(0,length(x))
  for(i in 1: length(x)){
      xfix[i] <- paste(x[i],":",fix,sep="", collapse=NULL)
  }
  return(xfix)
}

Try the dmm package in your browser

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

dmm documentation built on July 26, 2023, 5:23 p.m.