Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R: Difference between as.dist( ) and dist( )

Tags:

r

What is the difference between as.dist( ) and dist( )?

like image 772
bit-question Avatar asked Dec 07 '11 18:12

bit-question


1 Answers

dist() will actually calculate the distance matrix whereas as.dist() only will try to coerce a object to a distance matrix.

like image 178
Luciano Selzer Avatar answered Sep 27 '22 23:09

Luciano Selzer