# Bayesian Spatial Analysis

## Documentation for package ‘geostan’ version 0.8.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

geostan-package | The geostan R package.
aple | Spatial autocorrelation estimator
as.array.geostan_fit | Extract samples from a fitted model
as.data.frame.geostan_fit | Extract samples from a fitted model
as.matrix.geostan_fit | Extract samples from a fitted model
auto_gaussian | Auto-Gaussian family for CAR models
dic | Model comparison
edges | Edge list
eigen_grid | Eigenvalues of a spatial weights matrix: for spatial regression with raster data
expected_mc | Expected value of the residual Moran coefficient
fitted.geostan_fit | Extract residuals, fitted values, or the spatial trend
gamma2 | Prior distributions
georgia | Georgia all-cause, sex-specific mortality, ages 55-64, years 2014-2018
geostan | The geostan R package.
get_shp | Download shapefiles
gr | The Geary Ratio
hs | Prior distributions
impacts | Spillover/diffusion effects for spatial lag models
lg | Local Geary
lisa | Local Moran's I
log_lik | Extract log-likelihood
log_lik.geostan_fit | Extract log-likelihood
make_EV | Extract eigenfunctions of a connectivity matrix for spatial filtering
mc | The Moran coefficient (Moran's I)
me_diag | Measurement error model diagnostics
moran_plot | Moran scatter plot
normal | Prior distributions
n_eff | Effective sample size
n_nbs | Count neighbors in a connectivity matrix
plot.geostan_fit | print or plot a fitted geostan model
posterior_predict | Sample from the posterior predictive distribution
predict.geostan_fit | Predict method for 'geostan_fit' models
prep_car_data | Prepare data for the CAR model
prep_car_data2 | Prepare data for the CAR model: raster analysis
prep_icar_data | Prepare data for ICAR models
prep_me_data | Prepare data for spatial measurement error models
prep_sar_data | Prepare data for a simultaneous autoregressive (SAR) model
prep_sar_data2 | Prepare data for SAR model: raster analysis
print.geostan_fit | print or plot a fitted geostan model
print.impacts_slm | Spillover/diffusion effects for spatial lag models
priors | Prior distributions
residuals.geostan_fit | Extract residuals, fitted values, or the spatial trend
row_standardize | Row-standardize a matrix; safe for zero row-sums.
sentencing | Florida state prison sentencing counts by county, 1905-1910
se_log | Standard error of log(x)
shape2mat | Create spatial and space-time connectivity matrices
sim_sar | Simulate spatially autocorrelated data
spatial | Extract residuals, fitted values, or the spatial trend
spatial.geostan_fit | Extract residuals, fitted values, or the spatial trend
spill | Spillover/diffusion effects for spatial lag models
sp_diag | Visual displays of spatial data and spatial models
sp_diag.geostan_fit | Visual displays of spatial data and spatial models
sp_diag.numeric | Visual displays of spatial data and spatial models
stan_car | Conditional autoregressive (CAR) models
stan_esf | Spatial filtering
stan_glm | Generalized linear models
stan_icar | Intrinsic autoregressive models
stan_sar | Simultaneous autoregressive (SAR) models
student_t | Prior distributions
uniform | Prior distributions
waic | Model comparison