Time Varying
What exactly does tv::time_varying() do? | FAQ | 1. Does tv really loop over every single feature for every row in the grid independently? | 2. Does tv require any exposure history to get the counts or time-since right? | 3. The look back in the specs is relative to what point in time? | 4. Can I get the grid returned to me so I can see what it's doing? | 5. Why is my tv on prospective patients really slow? | An example | Overclocking the time_varying() function | What if a variable doesn't change over the exposure? | Multiple exposures per person | Only look back to the beginning of the exposure instead of a fixed look back | Only look at things from before the exposure instead of a fixed look back | Only break every hour | Create an indicator for if a situation applies | Create a count of how many times a situation applies