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 piechartradius
: radius of the piechart / nodeprobs
: probability vector of cluster membershipsn
: order of polygon to approximate a circlecolours
: the colours used; default is from palette()Michael Salter-Townshend
Thanks to Pavel N. Krivitsky of the latentnet package as I copied this from there.
plot.vblpcm