| summary.hgwrm {hgwrr} | R Documentation |
Summary an hgwrm object.
Description
Summary an hgwrm object.
Usage
## S3 method for class 'hgwrm'
summary(object, ..., test_hetero = FALSE, verbose = 0)
Arguments
object |
An |
... |
Other arguments passed from other functions. |
test_hetero |
Logical/list value.
Whether to test the spatial heterogeneity of local fixed effects.
If it is set to |
verbose |
An Integer value to control whether additional messages during testing spatial heterogeneity should be reported. |
Details
The parameters used to perform test of spatial heterogeneity are
bwBandwidth (unit: number of nearest neighbours) used to make spatial kernel density estimation. Default:
10.polyThe number of polynomial terms used in the local polynomial estimation. Default:
2.resampleTotal resampling times. Default:
5000.kernelThe kernel function used in the local polynomial estimation. Options are
"gaussian"and"bisquared". Default:"bisquared".
Value
A list containing summary informations of this hgwrm object
with the following fields.
diagnosticA list of diagnostic information.
random.stddevThe standard deviation of random effects.
random.corrThe correlation matrix of random effects.
residualsThe residual vector.
See Also
Examples
data(multisampling)
m <- hgwr(
formula = y ~ L(g1 + g2) + x1 + (z1 | group),
data = multisampling$data,
coords = multisampling$coords,
bw = 10
)
summary(m)
summary(m, test_hetero = TRUE)
summary(m, test_hetero = list(kernel = "gaussian"))