vblpcmdrawpie {VBLPCM}R Documentation

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

Description

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

Usage

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

Note

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

Author(s)

Michael Salter-Townshend

See Also

plot.vblpcm


[Package VBLPCM version 2.4.9 Index]