Pipe operator
pipe.RdRe-export pipe operator %>% to turn function composition into a series of imperative statements.
For more extensive description, see function `%>%` in package magrittr.
Examples
x = array(stats::rnorm(2*1*3, sd = 0.01), dim = c(2,1,3))
# Instead of
pseries(polm(x))
#> ( 2 x 1 ) impulse response with maximum lag = 5
#> lag=0 [,1] lag=1 [,1] lag=2 [,1] lag=3 [,1] lag=4 [,1] lag=5 [,1]
#> [1,] 0.015168154 -0.00439012 -0.013346550 0 0 0
#> [2,] 0.001446485 -0.01108749 -0.001351437 0 0 0
# you can write
x %>% polm() %>% pseries()
#> ( 2 x 1 ) impulse response with maximum lag = 5
#> lag=0 [,1] lag=1 [,1] lag=2 [,1] lag=3 [,1] lag=4 [,1] lag=5 [,1]
#> [1,] 0.015168154 -0.00439012 -0.013346550 0 0 0
#> [2,] 0.001446485 -0.01108749 -0.001351437 0 0 0