Questions tagged [semplot]

semPlot: Path Diagrams and Visual Analysis of Various SEM Packages' Output

Resources:

  1. cran.r-project.org
  2. github
  3. examples
43 questions
0
votes
0 answers

semPlot in R: Different size of latent variables and hidden variance but not residuals

I am using semPlot and I have first-order and second-order latent factors. Is it possible for those to have different size? I would like for second-order factors to be bigger than the first-order factors. Also, I would like to show residuals but not…
Martin
  • 1
0
votes
1 answer

Having trouble with node name sizes for semPaths

So far, this is the code I have for my structural equation model: #### Libraries #### library(lavaan) library(semPlot) #### Cov Matrix #### # Load lower <- " 2.60 0.74 1.20 0.66 0.52 4.50 0.64 0.57 2.46 4.54 0.64 0.61 1.22 1.33 2.28 0.84…
Shawn Hemelstrand
  • 2,676
  • 4
  • 17
  • 30
0
votes
1 answer

AMOS-like diagrams in R

I am doing an SEM analysis in R using lavaan. My analysis is complete, but I am not satisfied with the diagrams of the measurement model and structural model provided by semPlot and lavaanPlot. In lavaanPlot, the path arrows are curly, giving a…
0
votes
2 answers

semPlot won't install in R/Rstudio on MacOS 11.4 because OpenMx won't install & it's a dependency

I'm running R 3.6.1 in an Anaconda environment (it won't let me upgrade to v4) and trying to install semPlot to accompany lavaan which installed fine. Here are the packages I've installed: library(psych) # for Chronbach's alpha…
steve---g
  • 365
  • 2
  • 11
0
votes
1 answer

semPlot package Rstudio

I have been having trouble with the r package "semPlot" successfully installing onto Rstudio 1.2.5033 Each time I have tried installing the semplot package I get the following error. install.packages('semPlot') library(semPlot) Error: package or…
0
votes
1 answer

R is throwing errors for semPlot and semPath

Update: This problem seems to be unique to Mac The installation of semPlot seems to go fine, but when I call the library, it throws an error about package 'glasso' not found. When I try to use semPath, it says the function is not found. Have…
srmelick
  • 1
  • 3
0
votes
1 answer

Messy semPaths printout - CFA

Below is a path diagram for a CFA analysis I recently ran in RStudio. As you may note, the manifest nodes have random vertical black lines running through them. Further, it appears two values are being printed for the residual (i.e., overlaid…
Adam
  • 1
  • 1
0
votes
1 answer

SemPlot, problems showing lines in CFA Plot of Lavaan

I'm trying to make a SemPlot. The only problem I've got is that the plot shows some strange lines, next to the labels of the manifest variables. In the photo you can see what is my problem. The code I ran is this: semPlot::semPaths(lid_des_fa,…
0
votes
1 answer

Library semPlot load failed

When I tried to run the library(semPlot) , always receive an error message: library(semPlot) Error: package or namespace load failed for ‘semPlot’: objeto ‘readPNG’ não foi exportado por 'namespace:png' Besides when I run the function sem…
0
votes
0 answers

semPlot package dependency issues

I am trying to use the package semPlot with R version 3.2.3 on Linux Mint. Is the only solution to downgrade my R-version? I have installed package XML without errors. UPDATE BELOW ran: install.packages("semPlot",dependencies=T) errors: .... g++…
Rilcon42
  • 9,584
  • 18
  • 83
  • 167
0
votes
1 answer

What do represent arcuate arrows on manifest variable in SEM?

i conduct SEM with lavaan and semplot libraries, and i use example for package lavaan (stability of alienation by Wheaton) lower <- ' 11.834, 6.947, 9.364, 6.819, 5.091, 12.532, 4.783, 5.028, 7.495, 9.986, -3.839, -3.889, …
d-fan
  • 21
  • 3
0
votes
2 answers

Lavaan model: how to get semPaths to use Std.lv instead of Std.all

I am editing my question in an attempt to provide greater clarity on my R problem. My problem is that semPaths() is not printing the Std.lv estimates. My code begins with lavaan code and then the semPaths statement is presented. I provide R…
user2502904
  • 179
  • 4
  • 13
-2
votes
1 answer

How to interpret path coefficients in path analysis

I am trying to come up with a path analysis diagram using lavaan and semPlot. 1) Does anybody know how to interpret the path coefficients, especially those that does not originate anywhere but points to themselves, for eg. the coefficient 1.00…
Aven
  • 11
  • 3
1 2
3