convert_to_image_grob: Converts a raw .png file to a grob, with flexible aesthetics.

Description Usage Arguments Value

View source: R/convert_to.R

Description

Converts a raw .png file to a grob, with flexible aesthetics.

Usage

1
convert_to_image_grob(.image, aes_list, height = numeric(), width = numeric())

Arguments

.image

The local path to the raw .png file.

aes_list

The list outputted by ga_list which gives the image grob its aesthetics.

height

A numeric value designating the total height of the matrix grob in mm.

width

A numeric value designating the total width of the matrix grob in mm.

Value

A grob of the raw .png file.


grobblR documentation built on Sept. 15, 2021, 1:07 a.m.