No articles match
MplusAutomation Examples2 days ago
Overview | Clarifying the relationship between MplusAutomation and Mplus | Installing and loading the package | Determine the version of MplusAutomation on your machine | Updating the package to the latest version | Exporting data from R to Mplus | Running batches of Mplus models | Basic use of runModels | Advanced use of runModels | Recursing through subdirectories | Logging the outcome of runModels | Skipping models with existing output files | Displaying R output in the console | User-friendly interface to runModels() | readModels(): Extracting all supported data from Mplus output | Extracting model summary statistics | Listing of summary statistics extracted by readModels | Summarizing model fit statistics in tabular form | Displaying the summary table on the screen | Creating a summary table in HTML | Creating a summary table in LaTeX | Extracting model modification indices | Extracting model parameters | Example: Extracting parameters from a single file | Example: Extracting parameters from multiple files | Extracting and combining model results across files and sections | Basic structure of each model results section | Capitalizing on the graphics strength of R to visualize results | Comparing summaries and parameters across models | Creating a group of models from an Mplus template file (createModels()) | Init section | Required init definitions | Tag types | Simple tags | List tags | Iterator tags | Conditional tags | A Complete Example | Caveats and limitations | Circular tag definition | Conditional logic for multiple conditions
Introduction to ggbrain11 days ago
Images that will be used in the demo | Installing the package | Building a ggbrain plot layer by layer | Add images | Add slices | Adding slices by spatial position | Adding slices by quantile | Adding slices with additional aesthetic details | Adding montages | Automatically locating clusters and outlines | Add brain overlay layers | Defining an image layer | Defining subset layers | Defining a contrast layer | Conjunction analysis | Add outlines | Clusterized categorical layers | Converting to a ggplot object and displaying the plot | Saving ggbrain plots to file | Next steps
Working with the mplusModel Object3 months ago
Overview | Three Ways to Start | Start from Syntax and Data | Start from an Existing .inp File | Write Mplus Files | Update Syntax and Variables | Start from an Existing .out File | Run Locally or Submit to HPC | Summary
Aesthetic refinements of ggbrain plots7 months ago
Images used in this demo | Adjustments to the appearance of image layers | Removing small specks (remove_specks) | Filling small holes (fill_holes) | Trimming threads (trim_threads) | Combining image cleaning operations | Working with color scales | Custom color scales | Bisided color scales | Working with categorical images and labels | Mapping fills to label columns | Combining fills with outlines | Adding region labels | Using geom_region_label_repel | Adding annotations | Coordinate annotations | Orientation annotations | Crosshair annotations | Creating reusable plot components | Combining ggbrain plots with patchwork | Basic patchwork combinations | Advanced layout with shared legend | Saving ggbrain plots to file | Filtering images for focused displays | Target resolution for higher quality displays | Other considerations | Resampling images externally | The hierarchy of a ggbrain plot | Tips for publication-quality figures
Submitting Many Mplus Models to an HPC with submitModels()11 months ago
Motivation | Overview: submitModels() | Key ideas | Minimal examples | Inline HPCC directives inside .inp files | Batching models into combined jobs | Tracking job status | Practical tips
Working with annotations and labels in ggbrain1 years ago
Categorical images in ggbrain | Mapping image values to labels | Combining filled areas with outlines | Combining quantitative layers with labels | Adding annotations | Adding labels systematically