خرید بک لینک

Vote count: 0

Background

While analysing data in a SEM model one can list the indicators that are the most influent to the model fit. This is done with the command modind from the lavaan project. I can filter it to show only the first four, like in the following code:

head(mod_ind[order(mod_ind$mi, decreasing=TRUE), ], 4)

A typical report would be like:

               lhs op rhs group mi mi.scaled epc sepc.lv sepc.all
5760         var12  ~   g     1  0         0   0       0        0
7740         var2   ~   g     1  0         0   0       0        0
5562         var35  ~   g     1  0         0   0       0        0
8598         var7   ~   g     1  0         0   0       0        0

Question

  • How to further organize the results by type of operator (op in the report above)? Operators can be "<~", "~~", "=~", and the above "~".

I have tried head(mod_ind[order(mod_ind$mi, decreasing=TRUE), ], op == "=~") to no avail.

asked 4 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 9 ارديبهشت 1395 ساعت: 18:40

صفحه بندی