rd3_addImage | R Documentation |
rd3_addImage
adds an image to a 'rD3plot' object.
rd3_addImage(x, img)
x |
A 'rD3plot' object. |
img |
character vector indicating the image path. |
A 'rD3plot' object.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
data(finches)
data(galapagos)
bar <- barplot_rd3(finches, galapagos, select="Certhidea olivacea")
img <- system.file("extdata", "p.Crassirostris.png",
package="rD3plot")
bar <- rd3_addImage(bar,img)
multi <- rd3_multigraph(barplot=bar)
## Not run:
rd3_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.