Bakaburg
Bakaburg

Reputation: 3311

Build a dist like object to feed into hclust

I want to build a distance matrix but I already have the distances. How can I do it?

Distances are simply t-values between factors in a linear regression.

Upvotes: 0

Views: 43

Answers (1)

Fedorenko Kristina
Fedorenko Kristina

Reputation: 2777

You can try as.dist(m), where m is your distance matrix.

Upvotes: 2

Related Questions