Learn R Programming

MplusAutomation (version 1.1.1)

createVarSyntax: Create Mplus syntax for variable names

Description

This is a simple function designed to take a dataset in R and translate it into a set of variable names for Mplus.

Usage

createVarSyntax(data)

Value

A character vector of the variable names for Mplus

Arguments

data

An R dataset.

See Also

prepareMplusData

Examples

Run this code
MplusAutomation:::createVarSyntax(mtcars)

Run the code above in your browser using DataLab