Dear Jarrett,
I am not sure what it is that you are trying to accomplish with the last two
lines. Isn't 'dists' already what you want? If you just want to set the
diagonal of 'dists' to NA, then 'diag(dists) <- NA' would do that. But maybe I
am missing the point here entirely.
Best,
Wolfgang
nt: Sunday, 05 February, 2023 18:30
>To: Viechtbauer, Wolfgang (NP)
>Subject: Re: [R-sig-phylo] Generating a matrix of interspecfic genetic
>distances
>
>Thanks Wolfgang,
>
>‘dists’ contains both intraspecific and interspecific comparisons. The ‘inter’
>variable extracts