For the following operation:
avector<-c("p1","p2","p3")
Reduce(paste,avector)
## "p1 p2 p3"
I want to get "p1.p2.p3"
Which is applying the paste function in Reduce
with separator "."
Please advice.
For the following operation:
avector<-c("p1","p2","p3")
Reduce(paste,avector)
## "p1 p2 p3"
I want to get "p1.p2.p3"
Which is applying the paste function in Reduce
with separator "."
Please advice.