I am using the statspat package because I am working on spatial patterns. I would like to do in ggplot and with colors instead of numbers (because it is not too readable), the following graph, produced with the plot.quadratest function: Polygone
The numbers that interest me for the intensity of the colors are those at the bottom of each box.
The test object contains the following data:
Test object
I have looked at the help of the function, as well as the code of the function but I still cannot manage it.
Ideally I would like my final figure to look like this (maybe not with the same colors haha):
Thanks in advance for your help.