旋转semPaths/qgraph中的边缘 [英] Rotate Edges in semPaths/qgraph

查看:69
本文介绍了旋转semPaths/qgraph中的边缘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个数据看起来类似于Sasha Epskamp的这个例子:

I have a data that looks similar to this exemple of Sasha Epskamp:

library(qgraph)
library(semPlot)
library(MplusAutomation)

download.file("http://www.statmodel.com/usersguide/chap5/ex5.8.out", outfile <- tempfile(fileext = ".out"))

# Plot model:
semPaths(outfile, intercepts = FALSE)

我想为每个节点旋转"半圆形的边缘".对于半圆形边缘,我指的是通常包含互补R ^ 2正方形的边缘.我不知道该怎么称呼,所以我自己解决这个问题是完全不可能的.如果需要更多信息,请随时询问.

I would like to "rotate" the semi-circular "Edges" for each Node. For semi-circular edges I mean the edges that normally contains complementary R^2 squares. I don't know how that is called, so it's quite impossible for me to solve this problem for my own. If more information is required, don't hesitate to ask for it.

推荐答案

semPath中有一个rotate参数.使用semPath(outfile,rotation = 2)可以更改布局的旋转.您还可以使用layout ="来指定不同的布局样式.争论.我相信此页面对您了解所需的其他semPath参数将非常有帮助: https://www.rdocumentation.org/packages/semPlot/版本/1.1.2/topics/semPaths

There is a rotate argument in semPath. With semPath(outfile, rotation = 2) you can change the rotation of the layout. You can also specify different layout-styles with the layout = "" argument. I believe this page would be very helpfull for you to see what other semPath arguments you need: https://www.rdocumentation.org/packages/semPlot/versions/1.1.2/topics/semPaths

这篇关于旋转semPaths/qgraph中的边缘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆