Description Usage Arguments Details Value Author(s) See Also Examples
A function that takes as input a distance matrix and finds those
entries that are not connected to any others (ie. those with distance
Inf
.
1 | notConn(dists)
|
dists |
A distance matrix. |
It is a very naive implementation. It presumes that not connected
entries are not connected to any other entries, and this might not be
true. Using the connComp
function from the graph
package or the RBGL
package might be a better approach.
A vector of the names of the items that are not connected.
R. Gentleman
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.