vblpcmdrawpie: add a piechart of group memberships of a node to a network...

View source: R/plot_network.R

vblpcmdrawpieR 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


VBLPCM documentation built on March 31, 2023, 9:21 p.m.