check if ar component is stationary (stolen from the R stats source code)

phicheck(phi)

Arguments

phi

phi for AR component