{
  "_id": "6a155027acfb0bcc41d59eaf",
  "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-05-26 07:42:48 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",
  "MD5sum": "e928a479ebfb2fd283dbe5a97457e287",
  "_user": "cran",
  "_type": "src",
  "_file": "hgwrr_0.6-2.tar.gz",
  "_fileid": "f7e8443eabf033fe786a7004eb2c08d7909175947919093b2340f19b2f708a1f",
  "_filesize": 1167740,
  "_sha256": "f7e8443eabf033fe786a7004eb2c08d7909175947919093b2340f19b2f708a1f",
  "_created": "2026-05-26T07:42:48.000Z",
  "_published": "2026-05-26T07:47:51.565Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77829380206,
      "time": 192,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7211552484"
    },
    {
      "job": 77829380084,
      "time": 242,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7211566804"
    },
    {
      "job": 77829380087,
      "time": 195,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7211553205"
    },
    {
      "job": 77829380033,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7211553464"
    },
    {
      "job": 77828782841,
      "time": 250,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211496646"
    },
    {
      "job": 77829379999,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211540866"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26439068324",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": [
    {
      "week": "2025-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.6-2",
      "date": "2025-09-28"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "hpdell",
      "count": 9,
      "uuid": 17842185
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 180,
    "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",
    "manual.pdf"
  ],
  "_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.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-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-05-26T07:45:32.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "dc13194e90fc630104c7b96e3c82ccf0666a457608ac38f2e253c7a580ec37f2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26439068324"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-26T07:46:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "b007fd1d73a46fba891baae285dc0b9b7055753a2f942a8771f7cbe8a195346d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26439068324"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-26T07:45:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "9174b13eb5e018b35ad74c106fba49cb28a50abdcf111396a2200c25c6615060",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26439068324"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6-2",
      "date": "2026-05-26T07:45:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "d00ec311d19424356f6f372eb5258ba928e33fb1e2a9634287a52666122e888a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26439068324"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-2",
      "date": "2026-05-26T07:45:46.000Z",
      "arch": "emscripten",
      "commit": "6ae78b0d4722f42df6c3f82203ba726367559328",
      "fileid": "e39dec344f6517e3203332437582f3c19514a6e49bfaa055d141892b9203d389",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26439068324"
    }
  ]
}