add_phylopic_to_map: Fixes error in adding phylopics to maps

Description Usage

View source: R/historyofearth.R

Description

Get this error: Error: annotation_custom only works with Cartesian coordinates Using rphylopic::add_phylopic This follows the advice of https://github.com/oswaldosantos/ggsn/issues/19 And just uses ggmap::inset instead; otherwise, it's identical to rphylopic::add_phylopic

Usage

1
2
add_phylopic_to_map(img, alpha = 0.2, x = NULL, y = NULL,
  ysize = NULL, color = NULL)

jwiggi18/HistoryOfEarth documentation built on July 19, 2019, 7:17 p.m.