View source: R/grid-grob-magick.R
magickGrob | R Documentation |
Rasterize a grob object with magick
magickGrob(
grob,
magick = NULL,
...,
res = NULL,
interpolate = FALSE,
name = NULL,
vp = NULL
)
grob |
A |
magick |
A function (purrr-style formula is accepted) that takes an
|
... |
These dots are for future extensions and must be empty. |
res |
An integer sets the desired resolution in pixels. |
interpolate |
A logical value indicating whether to linearly interpolate the image (the alternative is to use nearest-neighbour interpolation, which gives a more blocky result). |
name |
A character identifier. |
vp |
A Grid viewport object (or NULL). |
A magickGrob
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.