addlines: Add lines

Description Usage Arguments Author(s) Examples

View source: R/rda.R

Description

Add lines to a network plot

Usage

1
addlines(Y,X,col="lightblue",alength=0,...)

Arguments

Y

a sociomatrix

X

coordinates of nodes

col

color of lines. Can be a vector of length equal to the number of edges to be drawn

alength

length of arrows to be drawn

...

additional plotting parameters

Author(s)

Peter Hoff

Examples

1
2
3
4
5
data(addhealth3)
Y<-el2sm(addhealth3$E)
X<-xnet(Y)
netplot(Y,X)
addlines(Y,X,col=Y[Y!=0])

MikeKozelMSU/mcmcFunc documentation built on May 22, 2019, 5:31 p.m.