Skip to content

EgoCor

Simple Presentation of Estimated Exponential Semi-Variograms

v1.3.4 · Nov 19, 2025 · MIT + file LICENSE

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.

Downloads

CRAN

315

Last 30 days

13831st

752

Last 90 days

4.9K

Last year

Trend: +70.3% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

45

Last 90 days

857

Last year

Trend: -22.2% (30d vs prior 30d)

autoCRAN

1

Last 7 days

8

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,475

Files

40

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,363 (55.1%)Tests 401 (16.2%)Docs 562 (22.7%)Vignettes 149 (6%)

API

Exported functions

5

Internal functions

4

Testing & CI

Has tests

Yes

Test-to-code ratio

0.29

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2022-03-03

Latest release

2025-11-19

Avg cadence

184 days

Cold removal rate

Dep drift

6

LOC over versions

v0.1.0: 1,880 LOCv1.0.0: 1,986 LOCv1.1.0: 2,034 LOCv1.2.0: 2,035 LOCv1.3.0: 2,467 LOCv1.3.2: 2,488 LOCv1.3.3: 2,475 LOCv1.3.4: 2,475 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies gstat Rdpack shiny sp SpatialTools EgoCor

Version History

9 tracked
new 1.3.4 Mar 10, 2026
updated 1.3.4 ← 1.3.3 diff Nov 18, 2025
updated 1.3.3 ← 1.3.2 diff May 18, 2025
updated 1.3.2 ← 1.3.0 diff Jan 24, 2025
updated 1.3.0 ← 1.2.0 diff Jan 20, 2025
updated 1.2.0 ← 1.1.0 diff Mar 27, 2024
updated 1.1.0 ← 1.0.0 diff Aug 7, 2023
updated 1.0.0 ← 0.1.0 diff Aug 10, 2022
new 0.1.0 Mar 2, 2022