Learn R Programming

EgoCor (version 1.3.4)

Simple Presentation of Estimated Exponential Semi-Variograms

Description

User friendly interface based on the R package 'gstat' to fit exponential parametric models to empirical semi-variograms in order to model the spatial correlation structure of health data. Geo-located health outcomes of survey participants may be used to model spatial effects on health in an ego-centred approach. The package contains a range of functions to help explore the spatial structure of the data as well as visualize the fit of exponential models for various metaparameter combinations with respect to the number of lag intervals and maximal distance. Furthermore, the outcome of interest can be adjusted for covariates by fitting a linear regression in a preliminary step before the semi-variogram fitting process.

Copy Link

Version

Install

install.packages('EgoCor')

Monthly Downloads

251

Version

1.3.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Julia Dyck

Last Published

November 19th, 2025

Functions in EgoCor (1.3.4)

distance.info

Pairwise distances of spatial coordinates
vario.mod

Semi-variogram model fitting
vario.reg.prep

Adjustment for covariates before semi-variogram model fitting
coords.plot

Scatterplot of spatial coordinates
birth

Spatially correlated birthweight data with artificial coordinates
par.uncertainty

Semi-variogram model parameter uncertainty