Skip to content
Prev 198806 / 398506 Next

using exists with coef from an arima fit

Erin Hodgess wrote:
co <- coef(xxx)["ma1"]
#or co <- coef(xxx)[["ma1"]] depending on whether you want to
# preserve the name

exists("co")
#[1] TRUE

  -Peter Ehlers