Learn R Programming

CoTiMA (version 0.7.0)

ctmaLCS: ctmaLCS

Description

Transforms estimates obtained with ctmaFit into LCS (latent change score) terminology. LCS models can be estimated with CT CLPM, but results have to be transformed. When time intervals vary much between and within persons, LCS models are virtually impossible to fit. However, CT CLPM models can be fitted, and the results - after transformation - show what LCS estimates would have been (cf Voelke & Oud, 2015; their terminology to label LCS effects is used in the output created by ctmaLCS)

Usage

ctmaLCS(
  CoTiMAFit = NULL,
  undoTimeScaling = TRUE,
  digits = 4,
  activateRPB = FALSE
)

Value

Returns LCS effects derived from CT CoTiMA CLPM estimates.

Arguments

CoTiMAFit

Fitted CoTiMA object.

undoTimeScaling

Whether (TRUE) or not (FALSE) LCS results should be provided ignoring the scaleTime argument used in ctmaFit.

digits

Number of digits used for rounding (in outputs)

activateRPB

set to TRUE to receive push messages with 'CoTiMA' notifications on your phone

Examples

Run this code
if (FALSE) {
LCSresults <- ctmaLCS(CoTiMAFullFit_6)
}

Run the code above in your browser using DataLab