print concatenate r code example
Example 1: r print concatenate
paste("on the ", counter, "rd count: ", k, sep="")
Example 2: truncate string in r
library(stringr)
str_sub('', 1, 3)
paste("on the ", counter, "rd count: ", k, sep="")
library(stringr)
str_sub('', 1, 3)