convert_to_matrix_grob {grobblR}R 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.


[Package grobblR version 0.2.1 Index]