convert_to_matrix_grob: Converts a data.frame/matrix to a grob, with flexible...

View source: R/convert_to.R

convert_to_matrix_grobR Documentation

Converts a data.frame/matrix to a grob, with flexible aesthetics.

Description

Converts a data.frame/matrix to a grob, with flexible aesthetics.

Usage

convert_to_matrix_grob(
  .df,
  aes_list = list(),
  height = numeric(),
  width = numeric()
)

Arguments

.df

The data.frame/matrix to be converted to a grob.

aes_list

The list outputted by ga_list which gives the data.frame/matrix 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 .df, with the corresponding aesthetics.


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