Description Usage Arguments Value

A scatterplot of y and its mean lagged value along with graphical representation of the posterior distribution of the Global Moran's I test statistic (the median estimate with random draws from the posterior distribution)

1 2 | ```
moran_plot(mc_test, draws = 100, title = NULL, xlab = "y",
ylab = "Mean Spatial Lag", col = "lightskyblue")
``` |

`mc_test` |
Output from a call to GeoStan::stan_mc(), an object of class |

`draws` |
Number of posterior draws of I to plot. This also sets the number of draws taken from the
null distribution of Moran's I (under the randomization hypothesis). Default |

`title` |
An optional character string with which to replace the default plot title. |

`xlab` |
X-axis label |

`ylab` |
Y-axis label |

`col` |
Line color; default |

A scatterplot of mc_test$Data overlaid by the posterior distribution of the Moran Coefficient.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.