Skip to content

mgwnbr

0.3.0

Multiscale Geographically Weighted Negative Binomial Regression

0packages depend
2.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Juliana RosaFirst published 2024-02-233 releasesCRAN page ↗

Fits a geographically weighted regression model with different scales for each covariate. Uses the negative binomial distribution as default, but also accepts the normal, Poisson, or logistic distributions. Can fit the global versions of each regression and also the geographically weighted alternatives with only one scale, since they are all particular cases of the multiscale approach. Hanchen Yu (2024). "Exploring Multiscale Geographically Weighted Negative Binomial Regression", Annals of the American Association of Geographers doi:10.1080/24694452.2023.2289986. Fotheringham AS, Yang W, Kang W (2017). "Multiscale Geographically Weighted Regression (MGWR)", Annals of the American Association of Geographers doi:10.1080/24694452.2017.1352480. Da Silva AR, Rodrigues TCV (2014). "Geographically Weighted Negative Binomial Regression - incorporating overdispersion", Statistics and Computing doi:10.1007/s11222-013-9401-9.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
1
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.3K
CRAN downloads in the past year
Rank #19,279 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
21330 days
61390 days
2.3K1 year
Compare downloads with other packages →
Also on97 r2u10 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,759 (90%)Rd 201 (10%)
Code characteristics
Object systems
S33
Cyclomatic complexity
2.5 median / 183 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

4 1 exported

Complexity

47.5 avg / 183 max

Call network

4 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0Latest
    2025-10-01 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.0
    2024-03-26 · diff ↗
  • 0.1.0
    2024-02-23
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-23
Total releases
3 / 2 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
8.6 KB / 1 file
Download size
25 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →