This function provides basic plotting for telefit package data.
# S3 method for stPredict
plot(
x,
type = "prediction",
t = NULL,
stFit = NULL,
stData = NULL,
err.comparison = NULL,
err.var = NULL,
err.lab = err.var,
pattern = 1,
dots = NULL,
burn = 1,
signif.telecon = F,
...
)
Object of class stPredict to plot.
One of the following options to specify what type of plot to build
Spatial plot of predicted response variable for a given timepoint t.
Spatial plot of residual for a given timepoint t. Note, this plot is only available if the model has been evaluated and the predictions have been compared to another response dataset.
Spatial plot of observed response variable for a given timepoint t. Note, this plot is only available if the model has been evaluated and the predictions have been compared to another response dataset.
Spatial plot of prediction standard errors for a given timepoint t.
Spatial plot of the local components of the response variable for a given timepoint t.
Spatial plot of the remote components of the response variable for a given timepoint t.
Spatial plot of the spatial noise component of the reponse variable for a given timepoint t.
Scatterplot of observed vs. predicted response variables for a given timepoint t. Note, this plot is only available if the model has been evaluated and the predictions have been compared to another response dataset.
Spatial plot of remote coefficients associated with a location coord.s in the spatial response domain.
Spatial plot of remote knot coefficients associated with a location coord.s in the spatial response domain.
Series of plots that measure overall prediction error across prediction timepoints.
Spatial plot of the predicted response variable category (i.e., above/below average) for a given timepoint t.
Note, this plot is only available if the model has been evaluated and the predictions have been compared to another response dataset.
Note, this plot is only available if the model has been evaluated and the predictions have been compared to another response dataset.
A map of the local domain where the plotted colors show the remote influence coefficients mapped onto the eof pattern specified by the "pattern" argument.
timepoint to plot. Will automatically plot the first timepoint if t=NULL.
Object of class stFit to provide related information and structures for plotting estimated teleconnection effects
Object of class stData to provide coordinate and related information for plotting estimated teleconnection effects
data.frame with Year column and a column for a variable that will be used to plot annual errors against
name of variable in err.comparison for plotting against
label for name of variable in err.comparison for plotting against
if type=='eof_alpha_knots', this specified which eof the remote coefficients should be mapped onto and then plotted over the local domain
additional named arguments with defaults to pass to additional functions
number of observations to exclude from graph
TRUE to highlight significant teleconnection effects
additional arguments to be passed to lower-level plotting functions
a ggplot object with the specified map
# NOT RUN {
data("coprecip.predict")
p = plot(coprecip.predict, t=1981)
# }
Run the code above in your browser using DataLab