predict.stlmm: Predict

Description Usage Arguments Value

View source: R/predict.R

Description

Compute best linear unbiased predictions (Kriging).

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'stlmm'
predict(
  object,
  newdata,
  interval = c("none", "confidence", "prediction"),
  se.fit = TRUE,
  predcov = FALSE,
  ...
)

Arguments

object

A model object of class stlmm.

newdata

A data frame containing columns whose names match the names of the x-coordinate, y-coordinate, t-coordinate, and predictor variables in object.

interval

The interval type. "none" implies point estimates, "confidence" implies point estimates whose standard errors are related to the mean. "predction" implies point estimates whose standard errors are related to a prediction.

se.fit

Should the standard error of the point estimate be returned? Defaults to TRUE.

predcov

Should the appropriate full covariance matrix of predictions be returned? Deafults to FALSE.

...

Additional arguments

Value

A list containing the point estimates, standard errors (if requested), and prediction covariance matrix (if requested).


michaeldumelle/DumelleEtAl2021STLMM documentation built on Dec. 21, 2021, 5:56 p.m.