savedata_read
Read Mplus SAVEDATA output from .out files, extracting factor scores, class probabilities, and class membership. Optionally export to CSV for analysis in R or Excel.
Instructions
Read the file a SAVEDATA command wrote - factor scores, class probabilities, most likely class membership - using the column layout Mplus recorded at the end of the .out file. Optionally write it out as a CSV for use in R or Excel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"out_path": "<out_path>"
},
"name": "savedata_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | How many rows to show. | |
| to_csv | No | Write the data to this CSV path as well. | |
| out_path | Yes | Path to the .out file whose SAVEDATA to read. |