Learn R Programming

EGAnet (version 0.5)

itemIdent: Item Dimension Identification

Description

Computes the within- and between-community strength of each item for each community. Based on itemConfirm, researchers can flag items that are not replicating well to identify which communities they are falling between.

Usage

itemIdent(bootega.obj, confirm, rep.val = 0.8, item.rep = 0.1)

Arguments

bootega.obj

A bootEGA object

confirm

A vector with community numbers or labels for each item

rep.val

A replication value between 0 and 1. Items below this value will be marked for their instability. It's recommended to first run itemConfirm to determine appropriate cut-off value. Defaults to .80

item.rep

A value for lowest likelihood allowed in itemConfirm's item.likelihood output. Removes noise from table to allow for easier interpretation. Matches matrix to itemConfirm output. Defaults to .10

Value

Returns a matrix of the unstandardized within- and between-community strength values for each node

Examples

Run this code
# NOT RUN {
ega.wmt <- EGA(data = wmt2[,7:24], model = "glasso")

boot.wmt <- bootEGA(data = wmt2[,7:24], n = 100, typicalStructure = TRUE,
plot.typicalStructure = TRUE, model = "glasso",
type = "parametric", ncores = 4, confirm = ega.wmt$wc)

itemConfirm(boot.wmt, confirm = ega.wmt$wc, plot.ic = TRUE)

itemIdent(boot.wmt, confirm = ega.wmt$wc, rep.val = .80)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab