I need to define a risk window, which starts 5 days after the index date and ends 10days after index date (index day is considered as day 0).
In Cohort Method we have function createStudyPopulation() with appropriate arguments riskWindowStart and riskWindowEnd.
If I want both 5 and 10 to be included in the risk window, should I specify
riskWindowStart = 5 and riskWindowEnd = 10
riskWindowStart = 6 and riskWindowEnd = 11.
As I understood from the documentation the first option would be the correct one. Can anybody clarify this topic, please?