[R] Visualising SOM as hexagonal heatmaps

Roger Bivand Roger.Bivand at nhh.no
Wed Aug 21 12:35:08 CEST 2013


Adam Szałucha <adam.szalucha <at> gmail.com> writes:

> 
> I have a kohonen object generated with grid parameters grid =
> somgrid(20, 20, "hexagonal"). Standard plot shows the codebook vectors
> for all variables. I want to have a hexagonal heatmap for each
> variable.
> 
> I found in Applied Spatial Data Analysis with R code to generate hexagonal
grid.
> 
...
> But there are some problems. Firstly the line
...
> Why does it happen?


Please consider posting on R-sig-geo, where a response may be easier to elicit.

> 
> Thanks
> Adam Szałucha
>



More information about the R-help mailing list