Skip to content

Instantly share code, notes, and snippets.

@dragstar328
Created April 12, 2016 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dragstar328/b3bfb26ec76a5eadfabb4520d56f9145 to your computer and use it in GitHub Desktop.
Save dragstar328/b3bfb26ec76a5eadfabb4520d56f9145 to your computer and use it in GitHub Desktop.
Rの文字列結合関数
"+" = function(e1, e2){
if(is.character(c(e1, e2))){
paste(e1, e2, sep="")
}else{
base::"+"(e1, e2)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment