R/mokkenTable.R

mokkenTable <-
function (data) {
  require(mokken)
  
  a <- data.frame(summary(check.monotonicity(na.omit(data))))[,c(1,9,10)]
  b <- data.frame(summary(check.iio(na.omit(data)))$item.summary)[,c(9,10)]
  table <- cbind(a, b)
  
  names(table) <- c("Hi", "#mono-sig", "mono-crit", "#iio-sig", "iio-crit")
  table
}

Try the psytabs package in your browser

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

psytabs documentation built on May 2, 2019, 5:27 p.m.