heatmap_dims: Find the dimensions of a ggplot2 heatmap.

Description Usage Arguments Value

Description

This works by identifying the number of unique points in the variables mapped to the x and y axes.

Usage

1

Arguments

p

a ggplot2 heatmap (or any ggplot with x and y mappings)

Value

a list with the number of rows and columns


eclarke/eclectic documentation built on May 15, 2019, 7:54 p.m.