Description Usage Arguments Details Value Author(s) Examples
remapH uses a data frame create a heat remap object which can be used by plot to see the map by browser
1 2 3 4 5 6 7 8 |
data |
a data frame including lontitude, latitude and density |
maptype |
the type of the map. For exameple,'china', 'world' or other names of province in China. |
theme |
a list object created by get_theme,control the color of the map. |
blurSize |
blur size of the data point, default is 30. |
color |
a vector of strings like ['blue', 'cyan', 'lime', 'yellow', 'red'], with which the color will transform evenly. |
minAlpha |
If the unified value is less than minAlpha, remapH will be set to minAlpha to ensure small data value can also be visible on the chart. |
opacity |
Opacity of the heatmap. Default is 1 |
... |
other paramters like title, subtitle,data for mark line |
data should be a dataframe which including three columns, the first column is lontitude, second column is latitude, third column is the density.
An remap object of heat map
Chiffon <http://lchiffon.github.io>
1 2 3 4 5 | heatmap = sampleData()
## This is a function to create sample data as
## http://echarts.baidu.com/doc/example/heatmap_map.html
remapH(heatmap,minAlpha = 0.1,title = "Heat Map from REmap")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.