vblpcmdrawpie function

add a piechart of group memberships of a node to a network plot; taken mainly from latentnet equivalent

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))

Arguments

  • 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()

Author(s)

Michael Salter-Townshend

Note

Thanks to Pavel N. Krivitsky of the latentnet package as I copied this from there.

See Also

plot.vblpcm

  • Maintainer: Michael Salter-Townshend
  • License: GPL (>= 2)
  • Last published: 2023-03-22