{
  "_id": "6ad1e95dd3c80a766859c687",
  "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",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse, ggplot2, tmap, lme4, spdep, GWmodel",
  "Packaged": {
    "Date": "2026-10-16 09:01:31 UTC",
    "User": "root"
  },
  "Author": "Yigong Hu [aut, cre], Richard Harris [aut], Richard Timmerman\n[aut]",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-09-28 05:20:28 UTC",
  "RemoteUrl": "https://github.com/cran/hgwrr",
  "RemoteRef": "HEAD",
  "RemoteSha": "6ae78b0d4722f42df6c3f82203ba726367559328",
  "_user": "cran",
  "_type": "src",
  "_file": "hgwrr_0.6-2.tar.gz",
  "_fileid": "https://r2.ropensci.org/cb14946568d1d0af26fae5183b286a4251368734694e286c7ab4fce73fd23577",
  "_filesize": 1168223,
  "_sha256": "cb14946568d1d0af26fae5183b286a4251368734694e286c7ab4fce73fd23577",
  "_expires": "2027-01-24T09:07:39.000Z",
  "_created": "2026-10-16T09:01:31.000Z",
  "_published": "2026-10-16T09:07:41.677Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116896649418,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12036192907"
    },
    {
      "job": 116896649402,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12036450999"
    },
    {
      "job": 116896649523,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12036750234"
    },
    {
      "job": 116896649467,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12035842973"
    },
    {
      "job": 116894751082,
      "time": 301,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12035868183"
    },
    {
      "job": 116896649382,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12036103432"
    },
    {
      "job": 116896649460,
      "time": 298,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12036396423"
    },
    {
      "job": 116896649416,
      "time": 238,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12036157669"
    },
    {
      "job": 116896649550,
      "time": 274,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12035599955"
    },
    {
      "job": 116896649832,
      "time": 173,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12036376158"
    }
  ],
  "_upstream": "https://github.com/cran/hgwrr",
  "_commit": {
    "id": "6ae78b0d4722f42df6c3f82203ba726367559328",
    "author": "Yigong Hu <yigong.hu@bristol.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6-2\n",
    "time": 1759036828
  },
  "_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
  },
  "_distro": "resolute",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "hpdell",
      "count": 9,
      "uuid": 17842185
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 354,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hgwrr"
  },
  "_devurl": "https://github.com/hpdell/hgwrr",
  "_pkgdown": "https://hpdell.github.io/hgwrr/",
  "_searchresults": 7,
  "_topics": [
    "openblas",
    "gsl",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hgwrr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_homeurl": "https://github.com/hpdell/hgwrr",
  "_realowner": "hpdell",
  "_cranurl": false,
  "_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"
      ]
    }
  ],
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libgsl",
      "package": "libgsl28",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.8+dfsg-6",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-07-09 02:45:25",
      "modified": "2024-11-07 09:50:02",
      "commits": 3
    }
  ],
  "_score": 2,
  "_indexed": false,
  "_nocasepkg": "hgwrr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://hpdell.r-universe.dev/hgwrr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-10-16T09:03:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/fd1aa255773244be189a4d38d79d31e76b4a3e94bde7020290d978de2d461597",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-10-16T09:04:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/3310dad1169b4f956e0ad8f1457a4f91c9a49f4c5eb7e0bf75cd575d730ff9d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-10-16T09:03:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/4752c34c17c558338e319ea7122370ca4b144681f31a36c37da019017d97b483",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-10-16T09:04:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/66dfaf000b5d535cfbbc73c62dc729980f4340fc9c3b4c8e75a1401c95ddc1f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-2",
      "date": "2026-10-16T09:04:36.000Z",
      "arch": "emscripten",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/7da3bdebbf86d27e6fca0d29ecc187e2d2214b0ae29e8be42c3772da2d331106",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-10-16T09:05:29.000Z",
      "arch": "aarch64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/7785f8e4b273ce586b0f51513b3c261692cf03ad9dee5c424bdd8ce0ea66ee7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-10-16T09:03:14.000Z",
      "arch": "x86_64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/7c2d0fc7ba9fff86efa1a0f327c770acb777b0376eed6b904269c7de1199c488",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-10-16T09:05:09.000Z",
      "arch": "aarch64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/28bd2a04ca3132f2ee6870c2ae77234715091e1cc44e36062f894ffee4f99386",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6-2",
      "date": "2026-10-16T09:03:14.000Z",
      "arch": "x86_64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "https://r2.ropensci.org/9b66dfe7341ea94c5bb71d5937d59fc3b071d4d5c5487047707ec5947218534a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38877075993"
    }
  ]
}