Re: [R] cov2cor exp

2013-09-18 Thread Pascal Oettli
-- > *From:* skalp.oet...@gmail.com [skalp.oet...@gmail.com] on behalf of > Pascal Oettli [kri...@ymail.com] > *Sent:* Wednesday, September 18, 2013 8:20 PM > *To:* wacguy > *Cc:* r-help > *Subject:* Re: [R] cov2cor exp > >Hello, > > I

Re: [R] cov2cor exp

2013-09-18 Thread Pascal Oettli
Hello, I am just wondering why to reinvent the wheel? Regards, Pascal 2013/9/19 wacguy > Ok, Thanks foe the answer, Ken: > > *1L, 2L etc are integers. (That is, identical to as.integer(1) , > as.integer(2) etc) > > Using integers (instead of "numeric" type) is more efficient as here > they're

Re: [R] cov2cor exp

2013-09-18 Thread wacguy
Ok, Thanks foe the answer, Ken: *1L, 2L etc are integers. (That is, identical to as.integer(1) , as.integer(2) etc) Using integers (instead of "numeric" type) is more efficient as here they're used as indexes and would be converted to integer anyway. Compare > is(1) ... and > is(1L) 1L:p is