ctDeintervalise: ctDeintervalise

View source: R/ctDeintervalise.R

ctDeintervaliseR Documentation

ctDeintervalise

Description

Converts intervals in ctsem long format data to absolute time

Usage

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 Sept. 11, 2024, 9:06 p.m.