R/sirt_logit_to_probs.R

Defines functions sirt_logit_to_probs

## File Name: sirt_logit_to_probs.R
## File Version: 0.04


sirt_logit_to_probs <- function(y)
{
    K1 <- length(y)
    x <- rep(0,K1+1)
    x[1L:K1] <- y
    x <- exp(x)
    x <- x / sum(x)
    return(x)
}
alexanderrobitzsch/sirt documentation built on Sept. 8, 2024, 2:45 a.m.