| lagpol0 | R Documentation |
'lagpol0' is a flexible constructor for lagpol objects.
It accepts multiple input formats: polynomial orders (d, s, p),
literal equations (e.g., 1 - 0.8B), or seasonal specifications for
special lag polynomials like AR/I/MA(s-1).
lagpol0(op, type, envir = parent.frame())
op |
Polynomial specification in one of these formats:
|
type |
Operator type: |
envir |
Environment for argument evaluation. Defaults to parent frame. |
List of lagpol objects.
lagpol
# AR(1) polynomial
lagpol0(op = 1, type = "ar")
# From literal equation
lagpol0(op = "1 - 0.8B", type = "ar")
# Multiple polynomials at once
lagpol0(op = list(1, "1 - 0.5B"), type = "ma")
# Seasonal polynomial
lagpol0(op = "12", type = "ar")
# Custom orders with seasonal component
lagpol0(op = c(2, 12, 1), type = "ar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.