This function provides basic plotting for telefit package data.
# S3 method for stFit
plot(
x,
type = "density",
stData = NULL,
coord.s = NULL,
coord.knot = NULL,
text.size = NULL,
axis.text.size = NULL,
title.text.size = NULL,
burn = 1,
signif.telecon = F,
p = 1,
local.covariate = NULL,
lwd = NULL,
facet.signif = 3,
stat.smooth.bw = NULL,
stat.smooth.degree = NULL,
dots = NULL,
...
)
Object of class stFit to plot.
One of the following options to specify what type of plot to build
Object of class stData to provide coordinate and related information for plotting estimated teleconnection effects
if plot type is 'teleconnection', specifies the longitude and latitude of local coordinate for which to plot estimated teleconnection effects. if NULL, the middle local coordinate will be plotted.
if plot type is 'teleconnection_knot_influence' or 'teleconnection_knot_local', specifies the longitude and latitude of knot coordinate for which to plot influence of remote coefficient on remote covariates, or the teleconnection coefficients associated with coord.knot
number specifying the size of text labels
number specifying the size of axis text labels
number specifying the size of title
number of observations to exclude from graph
if TRUE, will highlight significant teleconnection effects when type=='teleconnection'
If stFit was fit with spatially varying coefficients, p specifies the index of the spatially varying coefficient to plot
data.frame with variables, 'lon.Y', 'lat.Y', 'x' that will be plotted against teleconnection effects if type=='teleconnection_knot_transect'
specifies linewidth for plots that include reference lines
number of significant figures to round facet latitudes and longitudes for if type=='teleconnection_knot_transect'
if type=='teleconnection_knot_transect' this specifies the bandwith of the non-parametric smooth of the estimates
if type=='teleconnection_knot_transect' this specifies the degree of the non-parametric smooth of the estimates
additional named arguments with defaults to pass to additional functions
additional arguments to pass to functions
a ggplot object with the specified map
# NOT RUN {
data("coprecip.fit")
plot(coprecip.fit, burn = 50, type = 'trace')
# }
Run the code above in your browser using DataLab