csa.plot | R Documentation |
Function for plotting single CSA curves.
csa.plot(x, log_x = TRUE, log_y = TRUE, smooth = FALSE, wn = FALSE)
x |
A matrix or data.frame composed of two columns; scale for the temporal or spatial scale and value for the estimate of a given statistic (e.g., variance) at the given aggregated scale. |
log_x |
logical. If TRUE (the default) the x axis of the CSA plot is set to the logarithmic scale. |
log_y |
logical. If TRUE (the default) the y axis of the CSA plot is set to the logarithmic scale. |
smooth |
logical. If TRUE (the default) the aggregation curves are smoothed (loess function). |
wn |
logical. The argument wn (default FALSE) is used to plot a line presenting the standardized variance of the white noise process. Therefore, it should be used only with stat = "var" and std = T in the csa/csas functions. |
The CSA plot as a ggplot object.
## Not run:
aa <- rnorm(1000)
csa_aa <- csa(aa, chk = TRUE, plot = FALSE)
csa.plot(csa_aa)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.