d(x,
index(adj[x[1],] & adj[x[2],]
I'm absolutely certain I've gone down the wrong path here. O great R
gurus, your guidance would be most welcome.
--
Taral
"Please let me know if there's any further trouble I can give you."
-- Unknown
or(dist(fakedata)))
> X1 X2 dist
> 1 A B 0.8617733
> 2 A C 0.3813032
> 3 B C 0.5124284
>
> Sarah
>
> On Thu, Dec 22, 2011 at 7:03 PM, Taral wrote:
>> I'd like to convert a dist into a table/matrix/thingy of the form:
>>
>> A
I'd like to convert a dist into a table/matrix/thingy of the form:
A B value
A C value
B C value
(assuming the dist was over 3 names).
Is there a way to do this without using a for loop?
--
Taral
"Please let me know if there's any further trouble I can give you.&
3 matches
Mail list logo