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

Description Usage Arguments Value

View source: R/convert_to.R

Description

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

Usage

1
2
3
4
5
6
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.


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