Hi,
Many thanks for the article. It is always nice to see R applied in action.
Can you please let us know the definition of byRegion data frame?
I am not sure the definition/structure required by the heat map so knowing the details will help alot.
Thanks.