notConn | R Documentation |
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
.
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
connComp
data(Ndists)
notConn(Ndists)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.