Brms predictions: pointers on which source to read?

Hello,
I have a model similar to ``` bf( y ~ s(x), cor = ar(1)) ``. When i run the predict function for new values of x, i would like to see how exactly brms produces the draws. Would you be able to point me to the relevant functions/sources i could read?
Thanks much

  • Operating System:Linux
  • brms Version: latest on github

The actual predictions happens in functon .predictor_arma, which can be found in https://github.com/paul-buerkner/brms/blob/master/R/predictor.R