EVOLUTION-MANAGER
Edit File: hctreemap.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Shortcut for create treemaps</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for hctreemap {highcharter}"><tr><td>hctreemap {highcharter}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Shortcut for create treemaps</h2> <h3>Description</h3> <p>This function helps to create highcharts treemaps from <code>treemap</code> objects from the package <code>treemap</code>. NOTE: This function is deprecated. Please use <code>hctreemap2</code> instead. </p> <h3>Usage</h3> <pre> hctreemap(tm, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>tm</code></td> <td> <p>A <code>treemap</code> object from the treemap package.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional shared arguments for the data series (<a href="https://api.highcharts.com/highcharts/series">https://api.highcharts.com/highcharts/series</a>).</p> </td></tr> </table> <h3>Examples</h3> <pre> ## Not run: library("treemap") library("viridis") data(GNI2014) head(GNI2014) tm <- treemap(GNI2014, index = c("continent", "iso3"), vSize = "population", vColor = "GNI", type = "comp", palette = rev(viridis(6)), draw = FALSE ) hctreemap(tm, allowDrillToNode = TRUE, layoutAlgorithm = "squarified") %>% hc_title(text = "Gross National Income World Data") %>% hc_tooltip(pointFormat = "<b>{point.name}</b>:<br> Pop: {point.value:,.0f}<br> GNI: {point.valuecolor:,.0f}") ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>highcharter</em> version 0.9.4 <a href="00Index.html">Index</a>]</div> </body></html>