addImage {netCoin} | R Documentation |
Adds an image to a 'netCoin' object.
Description
addImage
adds an image to a 'netCoin' object.
Usage
addImage(x, img)
Arguments
x |
A 'netCoin' object. |
img |
character vector indicating the image path. |
Value
A 'netCoin' object.
Author(s)
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
Examples
data(finches)
data(Galapagos)
Net<-allNet(Galapagos,nodes=finches, criteria="hyp", maxL=.05,
lwidth ="Haberman",lweight="Haberman",
size="frequency", color="species", layout="mds",
main="Species coincidences in Galapagos Islands",
note="Data source: Sanderson (2000)")
img <- system.file("extdata", "p.Crassirostris.png",
package="netCoin")
Net <- addImage(Net,img)
## Not run:
multi <- multigraphCreate(Network=Net)
multiPages(multi,"Graph image example",show=TRUE)
## End(Not run)
[Package netCoin version 2.0.48 Index]