I have a binary data set of 0 and 1, where 0 is an absence and 1 is a presence of an event.
A sample of the data set looks like this:
events germany Italy
Rain 0 1
hail 1 0
sunny 0 0
I’d like to get a red and white picture of this data in the form of heat map by reading the data from a file.
With reshape and ggplot2 in R