plotdev | R Documentation |
Switch between plot devices
plotdev(
file.name = "test",
type = "png",
width = 5,
height = 5,
res = 100,
bg = "white"
)
file.name |
file name without suffix (.png, etc) |
type |
plot type: png, jpeg, eps, pdf, tiff or svg |
width |
figure width in inches |
height |
figure height in inches |
res |
resolution in ppi (pixels per inch), only for 'png' and 'tiff' |
bg |
background color |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.