plotContour: Contour plot of latent node positions

View source: R/plotContour.R

plotContourR Documentation

Contour plot of latent node positions

Description

Draw a contour plot of latent node positions

Usage

plotContour(OUT, main = "", k = 8, my.cols = brewer.pal(k, "Spectral"))

Arguments

OUT

Output of networkchange objects.

main

The title of plot

k

The number of levels (nlevels in contour ()).

my.cols

Color scale. Use brewer.pal() from RColorBrewer.

Value

A plot object

Examples


   ## 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")
   \## contour plot of latent node positions
   plotContour(out0)
   
## End(Not run)

NetworkChange documentation built on March 18, 2022, 7:52 p.m.