Skip to content
Prev 280857 / 398503 Next

Help creating a symmetric matrix?

On Sat, Dec 24, 2011 at 8:38 AM, William Revelle <lists at revelle.net> wrote:
I read the original question as *only* wanting the complete lower
triangle, with diagonal of 1 and 0 in the upper triangle.

If your interpretation is correct, there's also this convenience function:

library(ecodist)
z <- full(v)

Sarah