Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201945

R: Ploting Moran I plot in ggplot

$
0
0

Helo I would like to ask how to convert clasic R plot in ggplot so it looks nicer, in my case I would like to plot MORAN I plot in ggplot.

example:

library(spdep)

data(afcon, package="spData")
moran.plot(afcon$totcon, nb2listw(paper.nb))

Viewing all articles
Browse latest Browse all 201945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>