R/tif.R

tif <-
function (ip, x, D = 1.7) 
	{
	    i = iif(ip, x, D)
	    if (is.null(dim(i$f))) 
	        dim(i$f) = c(length(i$x), length(i$f))
	    f = apply(i$f, 1, sum)
	    r = list(x = i$x, f = f, ni = ncol(i$f))
	    return(r)
	}

Try the cacIRT package in your browser

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

cacIRT documentation built on May 1, 2019, 10:18 p.m.