I have several rasters (effectively resulted calculated from digital elevation models) (created using the raster package) and I would like to compare the distribution of the values. One possible way is to plot a density plot and overlay them on a chat.
I realise that making a stack and then the lattice package, but the rasters have different resolutions (the purpose is to test the effect of different resolutions of the resulting calculation.
I have recently become a little comfortable with the ggplot2 package, but it doesn't as I understand it, work with raster data types.
Can anyone please advise a package or technique to plot multiple density plots (and even other types such as box and whisker plots) for comparing the characteristics of different rasters please?