Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotContour

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

Bayesian Package for Network Changepoint Analysis

v0.7
GPL-3
Authors
Jong Hee Park [aut,cre], Yunkyu Sohn [aut]
Initial release
2020-07-09 14:17:31 UTC

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.