R/ggr4pl.R

`ggr4pl` <-
function(n=5, rep=1,theta=0,a=rep(1,n),b=rep(0,n),c=rep(0,n),d=rep(1,n)) {
 result <- NULL
 N      <- rep
 for (j in theta) {
  temp   <- NULL
  for (i in 1:n) temp <- cbind(temp, gr4pl(N=N,theta=j,a[i],b[i],c[i],d[i]))
  result <- rbind(result, temp)
  }
 return(data.frame(result))
 }

Try the irtProb package in your browser

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

irtProb documentation built on May 2, 2019, 1:30 p.m.