sds_image | R Documentation |
Insert an image as either html or latex
sds_image( img, width = NULL, height = NULL, lwidth = width, lheight = height, format = ifelse(knitr::is_latex_output(), "latex", "html") )
img |
quoted relative path name of image |
width |
number giving width as percent |
height |
number giving height as percent |
lwidth |
number for latex width, if you want a different width for latex and for html |
lheight |
number for latex height, like |
format |
either |
sds_image("images/bogus", format = "latex", width = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.