Skip to content

Commit

Permalink
4.2-52
Browse files Browse the repository at this point in the history
alexanderrobitzsch committed Apr 16, 2024
1 parent 8e16305 commit b096061
Showing 13 changed files with 29 additions and 28 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
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: 4.2-51
Date: 2024-04-12 16:00:09
Version: 4.2-52
Date: 2024-04-15 16:45:37
Author: Alexander Robitzsch [aut,cre] (<https://orcid.org/0000-0002-8226-3132>)
Maintainer: Alexander Robitzsch <robitzsch@ipn.uni-kiel.de>
Description:
2 changes: 1 addition & 1 deletion R/RcppExports.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: RcppExports.R
## File Version: 4.002051
## File Version: 4.002052
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

8 changes: 4 additions & 4 deletions R/unidim.csn.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: unidim.csn.R
## File Version: 0.205
## File Version: 0.206

##*** unidimensionality test
unidim.test.csn <- function( dat, RR=400, prop.perm=.75,
@@ -17,15 +17,15 @@ unidim.test.csn <- function( dat, RR=400, prop.perm=.75,
N <- nrow(dat)
dat_perm <- matrix(NA, N, ncol(dat) )
SS <- nrow(score_index)
for (ss in 1:SS){
for (ii in 1:ncol(dat)){
for (ss in 1L:SS){
for (ii in 1L:ncol(dat)){
iss <- score_index[ss,1]:score_index[ss,2]
dat_perm[iss,ii] <- sample( dat[iss,ii] )
}
}
score_index <- cbind( score_index, round( score_index[,3] * prop.perm ) )
progress <- 1*progress
progress_vec <- c(0,which( diff( floor( 10 * ( 1:RR ) / ( RR+1 ) ) )==1 ) )
progress_vec <- c(0,which( diff( floor( 10 * ( 1L:RR ) / ( RR+1 ) ) )==1 ) )
if (progress==1){
cat('|**********|\n')
}
15 changes: 8 additions & 7 deletions R/write.format2.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: write.format2.R
## File Version: 1.12
## File Version: 1.132



@@ -8,15 +8,16 @@ write.format2 <- function( vec1, ff, fr )
{
if (fr==0){
vec2 <- round( vec1, fr )
blank.vv <- paste( rep( " ", ff ), collapse="" )
vec2 <- paste( substring( blank.vv, 1, ff - nchar(vec2) ), vec2, sep="")
blank.vv <- paste( rep( ' ', ff ), collapse='' )
vec2 <- paste( substring( blank.vv, 1, ff - nchar(vec2) ), vec2, sep='')
} else {
d.vv <- round( vec1, fr ) + 10^(-(fr+1))
# generate blank
blank.vv <- paste( rep( " ", ff+1 ), collapse="" )
d.vv <- paste( substring( blank.vv, 1, ff+1 - nchar(d.vv) ), d.vv, sep="")
g.vv <- grep("NA",d.vv)
d.vv[ g.vv ] <- ifelse( ff > 1, gsub( "NA", " .", d.vv[g.vv] ), gsub( "NA", ".", d.vv[g.vv] ) )
blank.vv <- paste( rep( ' ', ff+1 ), collapse='' )
d.vv <- paste( substring( blank.vv, 1, ff+1 - nchar(d.vv) ), d.vv, sep='')
g.vv <- grep('NA',d.vv)
d.vv[ g.vv ] <- ifelse( ff > 1, gsub( 'NA', ' .', d.vv[g.vv] ),
gsub( 'NA', '.', d.vv[g.vv] ) )
vec2 <- substring( d.vv, 1, ff )
vec2
}
4 changes: 2 additions & 2 deletions R/xxirt_newton_raphson.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: xxirt_newton_raphson.R
## File Version: 0.259
## File Version: 0.261


xxirt_newton_raphson <- function(em_out, em_args, maxit_nr, optimizer_nr,
@@ -143,6 +143,6 @@ xxirt_newton_raphson <- function(em_out, em_args, maxit_nr, optimizer_nr,
#--- output
res <- list(res_opt_nr=res_opt_nr, partable=partable, customTheta=customTheta,
opt_values=opt_values, probs_items=probs_items,
em_args=em_args, pml_args=pml_args)
em_args=em_args)
return(res)
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -22,9 +22,9 @@ The CRAN version can be installed from within R using:
utils::install.packages("sirt")
```

#### GitHub version `sirt` 4.2-51 (2024-04-12)
#### GitHub version `sirt` 4.2-52 (2024-04-15)

[![](https://img.shields.io/badge/github%20version-4.2--51-orange.svg)](https://github.com/alexanderrobitzsch/sirt)&#160;&#160;
[![](https://img.shields.io/badge/github%20version-4.2--52-orange.svg)](https://github.com/alexanderrobitzsch/sirt)&#160;&#160;

The version hosted [here](https://github.com/alexanderrobitzsch/sirt) is the development version of `sirt`.
The GitHub version can be installed using `devtools` as:
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@ pandoc: 3.1.1
pkgdown: 2.0.7
pkgdown_sha: ~
articles: {}
last_built: 2024-04-12T14:20Z
last_built: 2024-04-15T15:03Z

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/NEWS
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ CHANGELOG sirt


------------------------------------------------------------------------
VERSIONS sirt 4.2 | 2024-04-12 | Last: sirt 4.2-51
VERSIONS sirt 4.2 | 2024-04-15 | Last: sirt 4.2-52
------------------------------------------------------------------------

FIXED * fixed a bug in handling sufficient statistics in
2 changes: 1 addition & 1 deletion src/RcppExports.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//// File Name: RcppExports.cpp
//// File Version: 4.002051
//// File Version: 4.002052
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

0 comments on commit b096061

Please sign in to comment.