Learn R Programming

SequentialDesign (version 1.0)

fun.exposure: Define Exposure Accumulation Function

Description

This function creates a dataset simulating the accumulation of individuals exposed to treatment under the self-controlled risk interval design.

Usage

fun.exposure(rate, offset, t)

Arguments

rate

Rate of accumulation.

offset

Initial exposed population.

t

Time at which individuals are exposed.

Examples

Run this code
# NOT RUN {
fun.exposure(rate=100, offset=20, t=20)
# }

Run the code above in your browser using DataLab