Creates a tile geom for plotting a matrix
Usage
# S3 method for matrix
gg(data, mapping = NULL, ...)
Arguments
- data
A
matrix
object.- mapping
a set of aesthetic mappings created by
aes
. These are passed on togeom_tile
.- ...
Arguments passed on to
geom_tile
.
See also
Other geomes for inla and inlabru predictions:
gg.bru_prediction()
,
gg.data.frame()
,
gg()
,
gm()