2
I have a base with 2 lines and 68 remarks called "varnomes" and would like to add the word "PF" at the end of each remark. With that, I tried to use the function Paste:
varnomes<-paste(varnomes,"PF")
But I was unsuccessful.
The first three columns of my base are like this, for example:
a b c
g r v
And I want you to stay:
aPF bPF cPF
gPF rPF vPF
Any suggestions with apply or with another function?
Thank you, José! It worked with both answers, but unfortunately I have to choose one and I found Carlos' simpler.
– T. Veiga