powered by
This function creates a dataset simulating the accumulation of individuals exposed to treatment under the self-controlled risk interval design.
fun.exposure(rate, offset, t)
Rate of accumulation.
Initial exposed population.
Time at which individuals are exposed.
# NOT RUN { fun.exposure(rate=100, offset=20, t=20) # }
Run the code above in your browser using DataLab