member_equivalence {manynet} | R Documentation |
Equivalence clustering algorithms
Description
These functions combine an appropriate node_by_*()
function
together with methods for calculating the hierarchical clusters
provided by a certain distance calculation.
-
node_in_equivalence()
assigns nodes membership based on their equivalence with respective to some census/class. The following functions call this function, together with an appropriate census.-
node_in_structural()
assigns nodes membership based on their having equivalent ties to the same other nodes. -
node_in_regular()
assigns nodes membership based on their having equivalent patterns of ties. -
node_in_automorphic()
assigns nodes membership based on their having equivalent distances to other nodes.
-
A plot()
method exists for investigating the dendrogram
of the hierarchical cluster and showing the returned cluster
assignment.
Usage
node_in_equivalence(
.data,
census,
k = c("silhouette", "elbow", "strict"),
cluster = c("hierarchical", "concor"),
distance = c("euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"),
range = 8L
)
node_in_structural(
.data,
k = c("silhouette", "elbow", "strict"),
cluster = c("hierarchical", "concor"),
distance = c("euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"),
range = 8L
)
node_in_regular(
.data,
k = c("silhouette", "elbow", "strict"),
cluster = c("hierarchical", "concor"),
distance = c("euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"),
range = 8L
)
node_in_automorphic(
.data,
k = c("silhouette", "elbow", "strict"),
cluster = c("hierarchical", "concor"),
distance = c("euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"),
range = 8L
)
Arguments
.data |
An object of a manynet-consistent class:
|
census |
A matrix returned by a |
k |
Typically a character string indicating which method
should be used to select the number of clusters to return.
By default |
cluster |
Character string indicating whether clusters should be
clustered hierarchically ( |
distance |
Character string indicating which distance metric
to pass on to |
range |
Integer indicating the maximum number of (k) clusters
to evaluate.
Ignored when |
Source
https://github.com/aslez/concoR
See Also
Other memberships:
mark_core
,
member_cliques
,
member_community_hier
,
member_community_non
,
member_components
Examples
(nse <- node_in_structural(ison_algebra))
plot(nse)
(nre <- node_in_regular(ison_southern_women,
cluster = "concor"))
plot(nre)
(nae <- node_in_automorphic(ison_southern_women,
k = "elbow"))
plot(nae)