{
  "_id": "6a0f66f6acfb0bcc41c5d63a",
  "Package": "hgwrr",
  "Type": "Package",
  "Title": "Hierarchical and Geographically Weighted Regression",
  "Version": "0.6-2",
  "Date": "2025-09-24",
  "Authors@R": "c(person(given = \"Yigong\",\nfamily = \"Hu\",\nrole = c(\"aut\", \"cre\"),\nemail = \"yigong.hu@bristol.ac.uk\"),\nperson(given = \"Richard\",\nfamily = \"Harris\",\nrole = \"aut\"),\nperson(given = \"Richard\",\nfamily = \"Timmerman\",\nrole = \"aut\"))",
  "Maintainer": "Yigong Hu <yigong.hu@bristol.ac.uk>",
  "Description": "This model divides coefficients into three types, i.e.,\nlocal fixed effects, global fixed effects, and random effects\n(Hu et al., 2022)<doi:10.1177/23998083211063885>. If data have\nspatial hierarchical structures (especially are overlapping on\nsome locations), it is worth trying this model to reach better\nfitness.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/HPDell/hgwrr/, https://hpdell.github.io/hgwrr/",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU make",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse, ggplot2, tmap, lme4, spdep, GWmodel",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://hpdell.r-universe.dev",
  "Date/Publication": "2026-04-21 08:18:02 UTC",
  "RemoteUrl": "https://github.com/hpdell/hgwrr",
  "RemoteRef": "HEAD",
  "RemoteSha": "27376766a9c4b9aadb2b6362f2847424c13d490e",
  "Packaged": {
    "Date": "2026-05-21 09:45:33 UTC",
    "User": "root"
  },
  "Author": "Yigong Hu [aut, cre],\nRichard Harris [aut],\nRichard Timmerman [aut]",
  "MD5sum": "7490822e9f0ce1090dd2f59b5044f1db",
  "_user": "hpdell",
  "_type": "src",
  "_file": "hgwrr_0.6-2.tar.gz",
  "_fileid": "d2ab99eef7a825acfc7864feddd31c35881d8b8cccdf7322714363fdf16e98bd",
  "_filesize": 1167694,
  "_sha256": "d2ab99eef7a825acfc7864feddd31c35881d8b8cccdf7322714363fdf16e98bd",
  "_created": "2026-05-21T09:45:33.000Z",
  "_published": "2026-05-21T20:11:34.607Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77259297460,
      "time": 224,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132574359"
    },
    {
      "job": 77259296935,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132570069"
    },
    {
      "job": 77259297641,
      "time": 198,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132565182"
    },
    {
      "job": 77259297091,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132567690"
    },
    {
      "job": 77259297349,
      "time": 307,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132588891"
    },
    {
      "job": 77259297073,
      "time": 317,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132601014"
    },
    {
      "job": 77259297035,
      "time": 184,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132554487"
    },
    {
      "job": 77259297212,
      "time": 295,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132593724"
    },
    {
      "job": 77259296570,
      "time": 234,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132495927"
    },
    {
      "job": 77259296587,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146110867"
    },
    {
      "job": 77259297162,
      "time": 263,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132588671"
    },
    {
      "job": 77259297221,
      "time": 260,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132588668"
    },
    {
      "job": 77259297344,
      "time": 183,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132560171"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hpdell/hgwrr",
  "_commit": {
    "id": "27376766a9c4b9aadb2b6362f2847424c13d490e",
    "author": "Yigong Hu <huyg0180110559@outlook.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Hotfix: deprecated arma::pow usage (#35)\n\n* fix: deprecated arma::pow usage\n\n* version: patch\n\n* edit: cran submission (skip ci)",
    "time": 1776759482
  },
  "_maintainer": {
    "name": "Yigong Hu",
    "email": "yigong.hu@bristol.ac.uk",
    "login": "hpdell",
    "description": "A PhD student in University of Bristol. Have great interest in programming and mathematics. Working on GWmodel and GIS.",
    "uuid": 17842185
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.8",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    }
  ],
  "_owner": "hpdell",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "hpdell",
      "count": 142,
      "uuid": 17842185
    }
  ],
  "_userbio": {
    "uuid": 17842185,
    "type": "user",
    "name": "Yigong Hu",
    "description": "A PhD student in University of Bristol. Have great interest in programming and mathematics. Working on GWmodel and GIS."
  },
  "_downloads": {
    "count": 201,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hgwrr"
  },
  "_devurl": "https://github.com/hpdell/hgwrr",
  "_pkgdown": "https://hpdell.github.io/hgwrr/",
  "_searchresults": 6,
  "_topics": [
    "openblas",
    "gsl",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hgwrr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hpdell/hgwrr",
  "_realowner": "hpdell",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2-1",
      "date": "2022-05-18"
    },
    {
      "version": "0.2-2",
      "date": "2022-05-20"
    },
    {
      "version": "0.2-3",
      "date": "2022-06-15"
    },
    {
      "version": "0.3-0",
      "date": "2023-05-26"
    },
    {
      "version": "0.4-0",
      "date": "2024-07-08"
    },
    {
      "version": "0.5-0",
      "date": "2024-07-28"
    },
    {
      "version": "0.6-0",
      "date": "2024-11-07"
    },
    {
      "version": "0.6-1",
      "date": "2024-11-16"
    },
    {
      "version": "0.6-2",
      "date": "2025-09-28"
    }
  ],
  "_exports": [
    "hgwr",
    "hgwr_fit",
    "make_dummy",
    "make_dummy_extract",
    "spatial_hetero_test",
    "spatial_hetero_test_data"
  ],
  "_datasets": [
    {
      "name": "mulsam.test",
      "title": "Simulated Spatial Multisampling Data For Test (DataFrame)",
      "object": "mulsam.test",
      "file": "mulsam.test.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "multisampling",
      "title": "Large Scale Simulated Spatial Multisampling Data (DataFrame)",
      "object": "multisampling",
      "file": "multisampling.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "wuhan.hp",
      "title": "Wuhan Second-hand House Price and POI Data (DataFrame)",
      "object": "wuhan.hp",
      "file": "wuhan.hp.rda",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "Price",
        "Floor.High",
        "Floor.Low",
        "Decoration.Fine",
        "PlateTower",
        "Steel",
        "BuildingArea",
        "Fee",
        "d.Commercial",
        "d.GreenLand",
        "d.Water",
        "d.University",
        "d.Kindergarten",
        "d.PrimarySchool",
        "d.MiddleSchool",
        "d.HighSchool",
        "d.SubwayStation",
        "d.Supermarket",
        "d.ShoppingMall",
        "lon",
        "lat",
        "group",
        "geometry"
      ],
      "rows": 19599,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "hgwrr-package",
      "title": "HGWR: Hierarchical and Geographically Weighted Regression",
      "topics": [
        "hgwrr-package"
      ]
    },
    {
      "page": "coef.hgwrm",
      "title": "Get estimated coefficients.",
      "topics": [
        "coef.hgwrm"
      ]
    },
    {
      "page": "fitted.hgwrm",
      "title": "Get fitted response.",
      "topics": [
        "fitted.hgwrm"
      ]
    },
    {
      "page": "logLik.hgwrm",
      "title": "Log likelihood function",
      "topics": [
        "logLik.hgwrm"
      ]
    },
    {
      "page": "make_dummy",
      "title": "Make Dummy Variables",
      "topics": [
        "make_dummy",
        "make_dummy_extract",
        "make_dummy_extract.character",
        "make_dummy_extract.default",
        "make_dummy_extract.factor",
        "make_dummy_extract.logical"
      ]
    },
    {
      "page": "mulsam.test",
      "title": "Simulated Spatial Multisampling Data For Test (DataFrame)",
      "topics": [
        "mulsam.test"
      ]
    },
    {
      "page": "multisampling",
      "title": "Large Scale Simulated Spatial Multisampling Data (DataFrame)",
      "topics": [
        "multisampling"
      ]
    },
    {
      "page": "print_table_md",
      "title": "Print a character matrix as a table.",
      "topics": [
        "print_table_md"
      ]
    },
    {
      "page": "print.hgwrm",
      "title": "Print description of a 'hgwrm' object.",
      "topics": [
        "print.hgwrm"
      ]
    },
    {
      "page": "print.spahetbootres",
      "title": "Print the result of spatial heterogeneity test",
      "topics": [
        "print.spahetbootres"
      ]
    },
    {
      "page": "print.summary.hgwrm",
      "title": "Print summary of an 'hgwrm' object.",
      "topics": [
        "print.summary.hgwrm"
      ]
    },
    {
      "page": "residuals.hgwrm",
      "title": "Get residuals.",
      "topics": [
        "residuals.hgwrm"
      ]
    },
    {
      "page": "spatial_hetero_test",
      "title": "Generic method to test spatial heterogeneity",
      "topics": [
        "spatial_hetero_test",
        "spatial_hetero_test.data.frame",
        "spatial_hetero_test.default",
        "spatial_hetero_test.matrix",
        "spatial_hetero_test.numeric",
        "spatial_hetero_test.sf",
        "spatial_hetero_test.vector"
      ]
    },
    {
      "page": "spatial_hetero_test_data",
      "title": "Test the spatial heterogeneity in data based on permutation.",
      "topics": [
        "spatial_hetero_test_data"
      ]
    },
    {
      "page": "hgwr",
      "title": "Hierarchical and Geographically Weighted Regression",
      "topics": [
        "hgwr",
        "hgwr.data.frame",
        "hgwr.sf",
        "hgwr_fit",
        "spatial_hetero_test.hgwrm"
      ]
    },
    {
      "page": "summary.hgwrm",
      "title": "Summary an 'hgwrm' object.",
      "topics": [
        "summary.hgwrm"
      ]
    },
    {
      "page": "wuhan.hp",
      "title": "Wuhan Second-hand House Price and POI Data (DataFrame)",
      "topics": [
        "wuhan.hp"
      ]
    }
  ],
  "_readme": "https://github.com/hpdell/hgwrr/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "KernSmooth",
    "MASS",
    "proxy",
    "Rcpp",
    "RcppArmadillo",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libgsl",
      "package": "libgsl27",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.7.1+dfsg-6ubuntu2",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "hgwrr.Rmd",
      "filename": "hgwrr.html",
      "title": "hgwrr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Model calibration",
        "formula",
        "data",
        "bw and kernel",
        "Results",
        "Further reading",
        "Model comparison",
        "Mathematical basis"
      ],
      "created": "2024-06-18 16:59:43",
      "modified": "2024-10-16 15:55:48",
      "commits": 5
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "hgwrr",
  "_universes": [
    "hpdell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-21T09:48:42.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "948eb3d1e56f861f3c4537d1a822c2eebbd2d9933d45b4879c52c5c9189666e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-21T09:48:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "fc6b22022e92b9f433a391f2c25e83e933c10baecae7ec004d07df1ba32adc64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-21T09:48:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "2c5db9250d61e9fa3082043e532a29393ee96b2605f8027cdc5a60294e34342f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-21T09:48:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "490acac26106f7b31d1d8307e47c66a89c04583539c44ce78d30d0b58cdee324",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6-2",
      "date": "2026-05-21T09:48:56.000Z",
      "arch": "aarch64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "c0a033472ec1b2b14284736798b0b858bb6ce2c82f6ff78bac84d65aa817a388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6-2",
      "date": "2026-05-21T09:49:13.000Z",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "6456d7b74f3d595144e29e6a1de7b21b4cce9a8ba97f0d62901a5d1bacee457e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6-2",
      "date": "2026-05-21T09:47:59.000Z",
      "arch": "aarch64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "1d53e8ed3052a12390ed50526feddd5149b9dd2402119eb17af458e871fc21bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6-2",
      "date": "2026-05-21T09:48:47.000Z",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "d3cb05852d4b762399335cb05d1cf0689a4963ace59ac2cc4b959644dbd0bee6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-2",
      "date": "2026-05-21T20:10:45.000Z",
      "arch": "emscripten",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "427ab849fa052b5b081164f7717a5f8442ddd0e5de3b3ff0d6e49ad0790de5fb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-05-21T09:47:50.000Z",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "7b5236bbdcf37cabff064cf7d0103e13230460ddae547d31e28e881641626125",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-05-21T09:47:23.000Z",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "041f5449286de9be5e01f0559820a590b84183af1fdb616304809d675d7f8859",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-05-21T09:47:10.000Z",
      "arch": "x86_64",
      "commit": "27376766a9c4b9aadb2b6362f2847424c13d490e",
      "fileid": "4cffc36f975f9f62a5e9fc0807ce7d35e4501e988a11ebc259b0b3def9beb399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hpdell/actions/runs/26218272655"
    }
  ]
}