vblpcmdrawpie | R Documentation |
add a piechart of group memberships of a node to a network plot; taken mainly from latentnet equivalent
vblpcmdrawpie(center,radius,probs,n=50,colours=1:length(probs))
center |
where to postion the piechart |
radius |
radius of the piechart / node |
probs |
probability vector of cluster memberships |
n |
order of polygon to approximate a circle |
colours |
the colours used; default is from palette() |
Thanks to Pavel N. Krivitsky of the latentnet package as I copied this from there.
Michael Salter-Townshend
plot.vblpcm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.