Displaying 1 result from an estimated 1 matches for "vectortoscalar".
2011 Feb 01
3
sum the values in a vector as a complete number
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