csa.plot {csa} | R Documentation |
CSA curve plotting
Description
Function for plotting single CSA curves.
Usage
csa.plot(x, log_x = TRUE, log_y = TRUE, smooth = FALSE, wn = FALSE)
Arguments
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. |
Value
The CSA plot as a ggplot object.
Examples
## Not run:
aa <- rnorm(1000)
csa_aa <- csa(aa, chk = TRUE, plot = FALSE)
csa.plot(csa_aa)
## End(Not run)
[Package csa version 0.7.1 Index]