Skip to contents

compile user defined parameter transformations to a pass to a SEM

Usage

.compileTransformations(syntax, parameterLabels, compile = TRUE, notes = NULL)

Arguments

syntax

string with user defined transformations

parameterLabels

names of parameters in the model

compile

if set to FALSE, the function will not be compiled -> for visual inspection

notes

option to pass a notes to function. All notes of the current function will be added

Value

list with parameter names and two Rcpp functions: (1) the transformation function and (2) a function to create a pointer to the transformation function. If starting values were defined, these are returned as well.