| plotU | R Documentation |
Plot latent node positions using ggplot2 with patchwork for multi-panel layouts. Uses colorblind-friendly palettes and cross-platform compatible fonts.
plotU(OUT, Time = NULL, names = NULL, main = NULL, label.prob = 0.9)
OUT |
Output of networkchange objects. |
Time |
Starting of the time period. If NULL, 1. |
names |
Node names. If NULL, use natural numbers. |
main |
The title of plot |
label.prob |
Label print threshold. 0.9 is the default. |
A plot object
## Not run:
set.seed(1973)
\## generate an array with two constant blocks
Y <- MakeBlockNetworkChange(n=10, shape=10, T=40, type ="constant")
out0 <- NetworkStatic(Y, R=2, mcmc=10, burnin=10,
verbose=10, UL.Normal = "Orthonormal")
\## latent node positions
plotU(out0)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.