Skip to contents

Transform the parameters of a CTSEM model. Returns a string with the transformations to be passed to lessSEM.

Usage

transformCTSEM(CTSEM, parameters, transformation)

Arguments

CTSEM

model created with CTSEM function

parameters

names of the parameters which should be transformed. Note: Should be of form p(t)

transformation

which transformation should be used? Currently supported: "changepoint", or "measurementInvariance"

Value

list with (1) transformation: string to be passed to lessSEM as transformation and (2) regularized: vector specifying which parameters should be regularized.

Examples

# TODO