ctDeintervalise: ctDeintervalise

Description Usage Arguments

View source: R/ctDeintervalise.R

Description

Converts intervals in ctsem long format data to absolute time

Usage

1
ctDeintervalise(datalong, id = "id", dT = "dT", startoffset = 0)

Arguments

datalong

data to use, in ctsem long format (attained via function ctWideToLong)

id

character string denoting column of data containing numeric identifier for each subject.

dT

character string denoting column of data containing time interval preceding observations in that row.

startoffset

Number of units of time to offset by when converting.


ctsem documentation built on July 23, 2021, 5:07 p.m.