Nothing
## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup--------------------------------------------------------------------
library(hgwrr)
## -----------------------------------------------------------------------------
data(wuhan.hp)
m_sf <- hgwr(
formula = Price ~ L(d.Water + d.Commercial) + BuildingArea + (Floor.High | group),
data = wuhan.hp,
bw = 299
)
## -----------------------------------------------------------------------------
data(mulsam.test)
m_df <- hgwr(
formula = y ~ L(g1 + g2) + x1 + (z1 | group),
data = mulsam.test$data,
coords = mulsam.test$coords
)
## -----------------------------------------------------------------------------
m_df
## -----------------------------------------------------------------------------
summary(m_df)
## -----------------------------------------------------------------------------
summary(m_df, test_hetero = T)
## -----------------------------------------------------------------------------
head(coef(m_df))
head(fitted(m_df))
head(residuals(m_df))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.