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 dimensionsn.cluster
: Number of latent clusterlayer
: Layer id for the cluster analysismain
: TitleA 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)