R/p.brm.R

Defines functions p.brm

# p = c + (1 - c)ilogit[exp(a*(thet - b))]

p.brm <-
function(theta, params){
  
# Call the appropriate c-function:
  p <- .Call("pbrm", theta, params)
  
# Matrix if n_ppl > 1, vector if n_ppl = 1:
  return(p)

} # END p.brm 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.