R/p.grm.R

Defines functions p.grm

# p = ilogit[exp(a*(thet - b.ku))] - ilogit[exp(a*(thet - b.kl))]

p.grm <-
function(theta, params){
  
# Call the appropriate c-function:
  p <- .Call("pgrm", theta, params)
  
# Matrix of (n_ppl * n_cat) x n_it:
  return(p)

} # END p.grm FUNCTION

Try the catIrt package in your browser

Any scripts or data that you put into this service are public.

catIrt documentation built on May 28, 2022, 1:09 a.m.