-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4246e93
commit 50dc27d
Showing
88 changed files
with
3,072 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: sirt | ||
Type: Package | ||
Title: Supplementary Item Response Theory Models | ||
Version: 3.12-1 | ||
Date: 2021-12-10 11:57:34 | ||
Version: 3.12-41 | ||
Date: 2022-02-25 23:07:24 | ||
Author: Alexander Robitzsch [aut,cre] (<https://orcid.org/0000-0002-8226-3132>) | ||
Maintainer: Alexander Robitzsch <[email protected]> | ||
Description: | ||
|
@@ -28,8 +28,8 @@ Imports: | |
CDM, graphics, methods, Rcpp, stats, TAM, utils | ||
Suggests: | ||
coda, igraph, lavaan, lavaan.survey, MASS, Matrix, | ||
miceadds, mirt, mvtnorm, pbivnorm, pbv, psych, | ||
sfsmisc, sm, survey | ||
miceadds, minqa, mirt, mvtnorm, nloptr, optimx, pbivnorm, | ||
pbv, psych, sfsmisc, sm, survey | ||
Enhances: | ||
immer | ||
LinkingTo: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
R/invariance_alignment_cfa_config_estimate_define_lavaan_model.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## File Name: invariance_alignment_cfa_config_estimate_define_lavaan_model.R | ||
## File Version: 0.08 | ||
|
||
|
||
invariance_alignment_cfa_config_estimate_define_lavaan_model <- | ||
function(items_gg, label_F="F", model="2PM") | ||
{ | ||
while (label_F %in% items_gg){ | ||
label_F <- paste0( label_F, "F") | ||
} | ||
if (substring(model,1,1)=="2"){ | ||
lavmodel <- paste0(label_F, "=~", paste0(items_gg, collapse="+") ) | ||
} else { | ||
lavmodel <- paste0(label_F, "=~", paste0( paste0("a*",items_gg), collapse="+") ) | ||
# lavmodel <- paste0( lavmodel, "\n", "F~~1*F") | ||
lavmodel1 <- paste0(paste0(items_gg, "~~b*", items_gg), collapse="\n" ) | ||
lavmodel <- paste0( lavmodel, "\n", lavmodel1) | ||
} | ||
return(lavmodel) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.