Actually i want to implement a periodic chemotherapy treatment in a cancer model. Periodic mean i want to implement the chemo for a period of time. Suppose for 7 days and then gap of 1 month and again for 7 days. Like that. How do i construct a function which behave like this periodic manner.