kmeansU | R Documentation |
K-mean clustering of latent node positions
kmeansU(out, R = 2, n.cluster = 3, layer = 1, main = "")
out |
Output of networkchange objects. |
R |
Number of latent space dimensions |
n.cluster |
Number of latent cluster |
layer |
Layer id for the cluster analysis |
main |
Title |
A plot object
## Not run: set.seed(1973) ## generate an array with two constant blocks Y <- MakeBlockNetworkChange(n=10, shape=10, T=10, type ="constant") out0 <- NetworkStatic(Y, R=2, mcmc=10, burnin=10, verbose=10, UL.Normal = "Orthonormal") ## latent node positions kmeansU(out0) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.