Category "state-space"

How to recover fitted values from BSTS poisson model (in R)?

I am trying to recover in-sample predictions (fitted values) from a bsts model with a specified poisson response using the bsts package in R. The following res

GEKKO: Statespace Model MPC: Output Data Loop: At the beginning of each calculation step U1 should be the previously calculated value Y

Can you give me a code example with which I can implement the feedback presented in the illustration? I would like to connect per time step the calculation resu