View source: R/mean.detrended.dm.R
| plot.mean_dm_detrended | R Documentation |
S3 plotting method for objects returned by mean_detrended.dm().
It can plot:
the mean detrended series (STD_DDM),
the autocorrelation-removed mean detrended series (RES_DDM),
or both together.
## S3 method for class 'mean_dm_detrended'
plot(
x,
y = NULL,
type = c("series", "seasonal", "boxplot"),
value = c("both", "STD_DDM", "RES_DDM"),
seasons = NULL,
x_axis = c("default", "date", "doy", "season_day"),
facet_by = c("none", "season", "metric"),
ncol = NULL,
box_group = c("metric", "season"),
alpha = 0.8,
line_width = 0.8,
point_size = 1.4,
legend_position = "right",
...
)
x |
An object of class |
y |
Unused. |
type |
Plot type. One of:
|
value |
Which variable to plot. One of:
|
seasons |
Optional character vector of |
x_axis |
Character string controlling the x-axis. One of:
|
facet_by |
Character string controlling faceting. One of:
|
ncol |
Optional integer giving the number of facet columns. |
box_group |
For |
alpha |
Numeric alpha transparency for lines/points. |
line_width |
Numeric line width. |
point_size |
Numeric point size. |
legend_position |
Character legend position passed to ggplot2. |
... |
Further arguments passed to or from other methods. |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.