bubble: Plot Bubble Map

Description Usage Arguments Value Examples

View source: R/fun-bubble.R

Description

Plot Bubble Map

Usage

1
2
3
4
5
6
7
bubble(data, shapename, choice = NULL, color.variable = NULL,
  size.variable = NULL, lgd.color.title = NULL,
  lgd.size.title = NULL, color = c("grey", "red"), size = 6,
  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", basemap = TRUE)

Arguments

data

data

shapename

shape name variable

choice

default is NULL

color.variable

color variable

size.variable

size variable

lgd.color.title

colored legend title

lgd.size.title

sized legend title

color

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

size

size for all bubble, default is 6

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

basemap

logical, default is TRUE

Value

a ggplot bubble map

Examples

1
plot(1:10)

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