[R] sum the values in a vector as a complete number
ADias
diasandre at gmail.com
Tue Feb 1 05:22:08 CET 2011
Hi
I am trying to create a function that is able to calculate this sum:
a<-c(2,3,5)
b<-(8,7)
with "a" meaning 235 and "b" 87. So the result of this sum would be 235 + 87
= 322.
I've searched a function like strsplit but that worked for integers and in
reverse - not spliting but combining.
Can you give me a hand on this please?
thanks
AD
--
View this message in context: http://r.789695.n4.nabble.com/sum-the-values-in-a-vector-as-a-complete-number-tp3250470p3250470.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list