I have a simple questions that possibly can be solved with paste My data frame looks like this:
paste
x<-c(3,6,7) y<-c(0.25,0.35,0.62) dta1<
You could use paste or paste0, but I find sprintf easier to read
paste0
sprintf
sprintf("%i(.%i)", dta1$x, round(100*dta1$y))
where %i marks integer numbers given in the following arguments (dta1$x and so on).
%i
dta1$x