楼主: 嘻嘻哈哈713
13280 20

[学习分享] Mplus小白一枚:Mplus潜类别分析中的概率折线图是怎么画出来的? [推广有奖]

11
大耳朵图图tt 学生认证  发表于 2020-12-8 16:16:25
同问,请问解决了么

12
sunmy3766 发表于 2021-1-31 23:36:33
如果你使用的是苹果系统,那么要下载一个R包,再去跑一下。
下面是mplus 官方的解决方案:

The Mplus GH5 File and R Functions

Plots can now be created in R using information from most of the Mplus PLOT command options. While a limited number of R plots have been available and were mainly intended for Mac and Linux users, that list of plots has now been greatly expanded and is available for Mac, Linux, and Windows users. Mplus R functions read the Mplus GH5 file using the rhdf5 package from Bioconductor, thereby providing R with the necessary input data. While Mac and Linux users cannot get Mplus plots in the current Mplus version using the PLOT command, they can use the Mplus PLOT command to generate a GH5 file for use with an Mplus R function. The Mplus R functions provide basic R plots that the user can modify in R. The Mplus R Tutorial describes how to get started and lists the current Mplus R functions.

R and the RHDF5 Package

The R program is available from the CRAN website. In order to read the GH5 file created by Mplus, the rhdf5 package from Bioconductor must be loaded in R. The latest version of the rhdf5package is version 2.14 and is compatible with R version 3.2.2 for Windows, Mac OS X and Linux operating systems.

Note that while the set of R functions has been written with users of Mplus Mac OS X and Linux versions in mind, the use of the GH5 file in R with the HDF5 package is not limited to these operating systems. Users of Mplus Windows can also load the GH5 file into R for Windows.

The File mplus.R

The file mplus.R contains the set of R functions to assist users view plots and extract plot data from the GH5 file created from an Mplus run. These functions can be loaded into R using the source command to load the mplus.R file.  A description of each function and its syntax are given in the Mplus R Tutorial.


13
huan_123 在职认证  发表于 2021-4-28 15:18:35
是啊,为什么作图时,mplus会自动关闭呢?

14
Tee6666666 发表于 2021-6-5 11:40:01
同Mplus小白一枚,楼主做潜在类别分析有什么教材推荐吗,现在还是一头雾水

15
梦飒飒 发表于 2021-7-9 00:59:08
同问啊 求救

16
Faustlee 在职认证  发表于 2022-2-23 07:38:54
求教+10086!潜类别出图就自动退出了,请问楼主如何解决的呢?

17
慕花颜 发表于 2022-9-3 14:39:52
自己摸索了下是这样的:用Mplus打开gh5文件后,在顶上菜单栏Plot选项里选择view plots,在弹出来的对话框中选择相应要查看的图就行了

18
wangpan1029 发表于 2022-10-31 09:14:46
圆圆的鸭梨 发表于 2020-4-24 16:21
您好,请问做lca分类图流程是不是:view plots--sample proportions and estimated probabilities--plot  ...
您好,请问您的解决了吗?我的也是这样

19
15713861756 发表于 2023-3-31 17:07:55
Maybe you can use Mplus Plots user Interface to open "GH5 file". The following link may help you:http://www.statmodel.com/mplus-R/

20
jiangyr819 发表于 2024-3-1 19:41:14
圆圆的鸭梨 发表于 2020-4-24 16:21
您好,请问做lca分类图流程是不是:view plots--sample proportions and estimated probabilities--plot  ...
您好 请问您解决了吗 我也是闪退

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-26 03:55