gather_midpoints: gather_midpoints

Description Usage Arguments Value

Description

from vector of time observation points, determine midpoint of each baseline or treatment subphase

Usage

1
gather_midpoints(trt_vec, k, treatment_name = "TREATMENT")

Arguments

trt_vec

character vector indicating sub-phase of a particular case, e.g.

k

number of complete baseline, treatment subphases

treatment_name

string contained in simulated data's 'treatment' column

Value

vector of time midpoints of subphases


fineiskid/scdlintrend documentation built on May 16, 2019, 12:53 p.m.