Learn R Programming

ctsem (version 1.1.6)

ctWideNames: ctWideNames sets default column names for wide ctsem datasets. Primarily intended for internal ctsem usage.

Description

ctWideNames sets default column names for wide ctsem datasets. Primarily intended for internal ctsem usage.

Usage

ctWideNames(n.manifest, Tpoints, n.TDpred = 0, n.TIpred = 0, manifestNames = "auto", TDpredNames = "auto", TIpredNames = "auto")

Arguments

n.manifest
number of manifest variables per time point in the data.
Tpoints
Maximum number of discrete time points (waves of data, or measurement occasions) for an individual in the input data structure.
n.TDpred
number of time dependent predictors in the data structure.
n.TIpred
number of time independent predictors in the data structure.
manifestNames
vector of character strings giving column names of manifest indicator variables
TDpredNames
vector of character strings giving column names of time dependent predictor variables
TIpredNames
vector of character strings giving column names of time independent predictor variables