This is only available when using Shiny. A Quarto document with OJS and R only the OJS is dynamic. Anything in R is static. I think of it as a set-up and interact partnership. R set's up the data that can be visualised and interacted with using OJS elements.
Coming from R I found Arquero to be a big help. It's similar enough to dplyr that you can run small calculations on your dynamic inputs in order to create dynamic outputs.