generate.step.effect: A difference that is a step, special case of...

Description Usage Arguments Value

View source: R/simulate.helpers.R

Description

A difference that is a step, special case of generate.linear.effect where transition.start and transition.end are equal.

Usage

1
generate.step.effect(time.vector, diff.amplitude = 1, step.time = 0)

Arguments

time.vector

A numeric vector of time values

diff.amplitude

The numeric amplitude of the difference (Default: 1)

step.time

When does the step occur (Default: 0)

Value

A numeric vector containing the effect at each provided time point.


mattmoo/SteppedWedgeAnalysis documentation built on Jan. 14, 2020, 12:25 a.m.