gg_picky: gg_picky

Description Usage Arguments Examples

Description

A function to plot your map in 131 different color palettes.

Usage

1
2
3
4
5
6
7
8
9
gg_picky(input, pal = "qual", show_c_names = NULL, gfun = "richness",
  icon_color = "black", legend_title = NULL, filling = NULL,
  na = "white", map = NULL, img = NULL, y_sf = NULL, x_sf = NULL,
  breaks = NULL, size = NULL, scal_cont = NULL, break_n = 7,
  low = "yellow", high = "blueviolet", alpha = 0.7,
  map_col = "grey30", panel_background = "grey95", width = 0.25,
  breaks_x = NULL, breaks_y = NULL, map_title = NULL, label = NULL,
  resolution = 1, crs = crs, exclude_0 = "auto",
  zoom_out = zoom_out, round_to = 3)

Arguments

icon_color

choose color to change icon

filling

choose pallete to color the diferent levels

na

color for NA cells

map

map to plot on top of input

img

forg/lizard/bird/mammal

y_sf

y position for icon

x_sf

x position for icon

breaks

choose breaks for color legend

size

size of icon

scal_cont

TRUE for gradient scale

low

color for gradient scale

high

color for gradient scale

alpha

icon transparency 0-1

map_col

color for map border

panel_background

color for plot background

width

width of map

breaks_x

choose breaks for x axis

label

information to display in the legend

resolution

grid resolution

crs

projection of data provided ('longlat'/'cea')

zoom_out

choose the best zoom to visualize your data. Higher the number - the more perspective you get.

breaks_n

number of breaks for color legend

breaks_y=choose

breaks for y axis)

crs

projection of data provided ('longlat'/'cea')

Examples

1
2
3
4
gg_picky(input,icon_color='blue',legend_title="WEGE",filling=c(pal(7),palred(5)), na='red',map=africa_shape_sp,
img=img,y_sf=-20,x_sf=-10,size=10,breaks=c(0,1,2,3,4))

gg_picky(input, pal='qual')

harithmorgadinho/ggg documentation built on May 18, 2019, 12:28 p.m.