LoslegenKostenlos loslegen

Basic SEM Diagram

The adoption group are not statisticians, so it would help them understand your work if you could create a picture of their model. The previous two-factor model of goodstory and inperson has been loaded for you.

Create a basic plot of the model using the semPlot library and the semPaths() function with the default output. The model plot should have two circles for the latents, and six squares for the manifest variables.

Diese Übung ist Teil des Kurses

Structural Equation Modeling with lavaan in R

Kurs anzeigen

Anleitung zur Übung

  • Load the semPlot library.
  • Use the semPaths() function where the object is saved analyzed model adopt.fit.

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Load the semPlot library
___

# Create a default picture
___
Code bearbeiten und ausführen