ctmaLCS: ctmaLCS

View source: R/ctmaLCS.R

ctmaLCSR Documentation

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
)

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

Value

Returns LCS effects derived from CT CoTiMA CLPM estimates.

Examples

## Not run: 
LCSresults <- ctmaLCS(CoTiMAFullFit_6)

## End(Not run)


CoTiMA documentation built on May 29, 2024, 11:39 a.m.

Related to ctmaLCS in CoTiMA...