topo_recolor: change color scales by 'count' value in topoJson

Description Usage Arguments Value Examples

Description

change color scales by 'count' value in topoJson

Usage

1
topo_recolor(topo, max, FUN)

Arguments

topo

topoJSON character vector with count attribute

max

maximum value of count attribute

function

defining color mapping such as leaflet::colorNumeric

Value

topoJSON character vector

Examples

1
topo_recolor(topo_prac, 300, palfx)

jacob-ogre/ESAListings documentation built on May 18, 2019, 7:59 a.m.