geolm_fit {gear} | R Documentation |
Fit a geolm
Description
geolm_fit
fits a geolm
based on the
specified mod
. This is effectively an internal
function.
Usage
geolm_fit(
mod,
x,
y,
coords,
mu,
weights,
formula,
coordnames,
n,
call,
coeff_names
)
Arguments
mod |
A model object produced by one
of the |
x |
The matrix of covariates. |
y |
The vector of observed responses. |
coords |
The coordinates of the observed data set. |
mu |
A single numeric value indicating the consant
mean of the spatial process if simple kriging is
desired. Default is |
weights |
A vector that is proportional to the reciprocal variances of the errors. |
formula |
An object of class
|
coordnames |
A vector of length 2 with the names of the columns in |
n |
The number of observations. |
call |
The |
coeff_names |
A character string with the variable names associated with the coefficents. |
Value
Returns a geolm
with necessary
components needed for estimate
and
predict
.
Author(s)
Joshua French
Examples
# no examples since you shouldn't be using this function!