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

View source: R/convert_to.R

convert_to_image_grobR Documentation

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

Description

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

Usage

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.


calvinmfloyd/grobblR documentation built on Aug. 30, 2024, 8:22 p.m.