rasterise.Layer
method appends rasterisation information at the layer level, rather than at the geom level.rasterise
function now can work with whole ggplot objectsggrastr
has gone through no major revisions in over a year. In order to avoid any confusion, this should be released with a major version.rasterise()
changed to work with multiple layersrasterise()
now works with geom_sf()
, i.e. should find any layers in a valid input list, and rasterize this. scale
added to rasterise()
. This scales the 'height' and 'weight' of the raster objectsdpi
using options(ggrastr.default.dpi=N)
. PR found here: https://github.com/VPetukhov/ggrastr/pull/21geom_violin_rast()
as a feature requestraster.width
and raster.height
parameters were removed.width
, hight
and dpi
renamed to raster.width
, raster.hight
and raster.dpi
correspondingly to avoid name conflicts.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.