Heatmap with different levels on the axis with GGPLOT

1

I have some data arranged as follows:

And I'm trying to generate a heatmap (extend something I've already done with geom_raster() ) to get something like that, with two levels in one of the axes:

I found an answer for the case of a bar chart ( link ), but one my case does not work.

I hope someone can guide me. Thanks!

    
asked by Kamal Romero 04.09.2018 в 14:18
source

0 answers