addImage | R Documentation |
addImage
adds an image to a 'netCoin' object.
addImage(x, img)
x |
A 'netCoin' object. |
img |
character vector indicating the image path. |
A 'netCoin' object.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.