A geom to fit a GLS model to a time series
Usage
geom_gls(
mapping = NULL,
data = NULL,
stat = "GLS",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
warn = TRUE,
...
)
Arguments
- mapping
Set of aesthetic mappings created by
aes()
. By defaultinherit.aes = TRUE
, which assigns the top-level plottingaes()
to the GLS geom.- data
Input series to be analyzed. If NULL, data is inherited from previous layer or
ggplot
call.- stat
stat
- position
position
- na.rm
remove NAs
- show.legend
show legend
- inherit.aes
inherit aesthetics
- warn
Conditional. If
TRUE
, a warning message will be returned when N < 30.- ...
Other arguments may be passed to the stat, including fixed aesthetics.