corGram | R Documentation |
Creates a correlogram for irregularly spaced data.
corGram(x, y, Plot = list(name = "Standardized Observations", what = "points", type = "solid", width = "standard", symbol = "circle", filled = TRUE, size = 0.03, color = "gray40"), CorGram = list(band = 0.15, kernel = "normal", color = "black", width = "standard", add0line = TRUE), yaxis.range = c(-3, 3), xaxis.range = c(0, 1.5), ylabels = 7, xlabels = 4, xtitle = "Difference in Time, in Years", ytitle = "Standardized Serial Correlation", caption = "", margin = c(NA, NA, NA, NA))
x |
decimal time. |
y |
residuals or other observations, these will be scaled, but not centered. |
Plot |
parameters defining the characteristics of the plot. See
|
CorGram |
control parameters of the correlogram line. See Details. |
yaxis.range |
set the y-axis range. |
xaxis.range |
set the x-axis range. |
ylabels |
set the y-axis labels. See |
xlabels |
set the x-axis labels. See |
xtitle |
the x-axis title (also called x-axis caption). |
ytitle |
the y-axis title (also called y-axis caption). |
caption |
the figure caption. |
margin |
set the plot area margins, in units of lines of text. Generally
all NA or the output from |
CorGram
is a list with these components:
a measure of the bandwidth used by locpoly
the kernel used, currently ignored
the color of the line representing the correlogram
the line width of the line representing the correlogram
logical, if TRUE
, then add the 0 line; if FALSE
,
then do not draw the 0 line
Information about the graph.
A call should be made to setPage
to set up the graphics
environment before calling corGram
.
setPage
## Not run: # See for examples of corGram: vignette(topic="GraphGallery", package="smwrGraphs") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.