mapit: Quick Heat Map in ggplot2

Description Usage Arguments Value Examples

Description

This function gives you a quick, basic heat map to use for data structured in the way described in the vignette.

Usage

1
mapit(dat, g = FALSE)

Arguments

dat

The data frame you are using.

* coordinate columns must be named "x", "y";

* box width/height columns must be named "width", "height";

* statistic of interest must be names "statistic".

g

TRUE or FALSE - Whether or not to include a legend, defaults to "FALSE"

Value

A ggplot2 heat map.

Examples

1
2
hitterVR <- varyres(hitter, mean, cutoff = 200, max = 6)
mapit(hitterVR[[4]])

cwcomiskey/varyres documentation built on May 30, 2019, 7:19 a.m.