MulaiMulai sekarang secara gratis

Edit the Labels

The adoption group wants to perfect their survey for future use. To help them understand the results, you can add labels to the paths to indicate which items were the most related to their latent variables.

You can shade those labels by strength to add more data visualization to the model picture. You should see that the goodstory manifest variables are much stronger than the inperson variables.

Latihan ini adalah bagian dari kursus

Structural Equation Modeling with lavaan in R

Lihat Kursus

Petunjuk latihan

  • Use the whatLabels argument to show the standardized loadings.
  • Use the what argument to color by the standardized loadings.
  • Use the edge.color argument to color the model blue.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Load the library
library(semPlot)

# Update the default picture
semPaths(object = adopt.fit,
         layout = "tree",
         rotation = 2,
         ___,
         edge.label.cex = 1,
         ___,
         ___)
Edit dan Jalankan Kode