ezImageFileLink | R Documentation |
Gets an image link as html. Also plots and creates the image.
ezImageFileLink(
plotCmd,
file = NULL,
name = "imagePlot",
plotType = "plot",
mouseOverText = "my mouse over",
addPdfLink = TRUE,
width = 480,
height = 480,
ppi = 72,
envir = parent.frame()
)
plotCmd |
an expression of plot commands. |
file |
a character specifying the name of the image with a .png suffix. |
name |
a character specifying the name of the image together with |
plotType |
a character specifying the name of the image together with |
mouseOverText |
a character specifying the text being displayed when mousing over the image. |
addPdfLink |
a logical indicating whether to add a link on the image to a pdf version of itself. |
width |
an integer specifying the width of each plot to create an image from. |
height |
an integer specifying the height of each plot to create an image from. |
ppi |
an integer specifying points per inch. |
envir |
the environment to evaluate |
Returns a character specifying a link to an image in html.
Rehrauer, Hubert
Schmid, Peter
x = 1:10
plotCmd = expression({
plot(x)
text(2,1, "my Text")
})
ezImageFileLink(plotCmd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.