heat: Plot Heat Map

Description Usage Arguments Value Examples

View source: R/fun-heat.R

Description

Plot Heat Map

Usage

1
2
3
4
5
6
heat(data, shapename, choice = NULL, heat.variable = NULL,
  color = c("gray", "red"), lgd.title = NULL, fill = "#e5e5e5",
  border.color = "black", border.size = 0.5, text.show = TRUE,
  min.segment.length = 0.5, force = 0.5, family = "sans",
  fontface = "plain", text.alpha = 1, text.size = 5,
  text.color = "black")

Arguments

data

data

shapename

shape name variable

choice

default is NULL

heat.variable

heat variable

color

color, which be more than one, default is grey and red

lgd.title

legend title

fill

fill color for base map

border.color

map border color

border.size

map border size

text.show

logical, whether to show text on map, TRUE is default

min.segment.length

geom_text_repel. See the documentation for those

force

geom_text_repel. See the documentation for those

family

font_family_exists. See the documentation for those

fontface

face, plain, bold, italic

text.alpha

alpha, default is 1

text.size

size for text, default is 5

text.color

text color, default is black

Value

a ggplot2 heat map

Examples

1
plot(1:10)

yikeshu0611/ggrisk documentation built on Feb. 13, 2020, 10:46 a.m.