View source: R/predict_gwrf_fit.R
| predict.gwrf_fit | R Documentation |
Return fitted local predictions
## S3 method for class 'gwrf_fit'
predict(object, ...)
object |
A gwrf_fit object. |
... |
Unused. |
A numeric vector containing the fitted local prediction for each
focal observation represented in object$local_results, in the same order
as the rows of that table.
example_fit <- structure(
list(
local_results = data.frame(
prediction = c(1.2, 2.1, 2.8)
)
),
class = "gwrf_fit"
)
predict(example_fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.