On Oct 22, 2010, at 4:14 PM, Marc Schwartz wrote:
> On Oct 22, 2010, at 4:00 PM, David Herzberg wrote:
>
>> I start with:
>>
>> v1<-c(1,3,5,7)
>> v2<-c(2,4,6,8)
>>
>> And I want to end up with:
>>
>> v3<-c(12,34,56,78)
>>
>> How do I get there?
>>
>> Thanks,
>
>
>> v1*10 + v2
> [1] 12 34 5
On Oct 22, 2010, at 4:00 PM, David Herzberg wrote:
> I start with:
>
> v1<-c(1,3,5,7)
> v2<-c(2,4,6,8)
>
> And I want to end up with:
>
> v3<-c(12,34,56,78)
>
> How do I get there?
>
> Thanks,
> v1*10 + v2
[1] 12 34 56 78
HTH,
Marc Schwartz
__
I start with:
v1<-c(1,3,5,7)
v2<-c(2,4,6,8)
And I want to end up with:
v3<-c(12,34,56,78)
How do I get there?
Thanks,
David S. Herzberg, Ph.D.
Vice President, Research and Development
Western Psychological Services
12031 Wilshire Blvd.
Los Angeles, CA 90025-1251
Phone: (310)478-2061 x144
FAX
3 matches
Mail list logo