digram.wrightmap: Draw a Wrightmap

View source: R/digram.wrightmap.R

digram.wrightmapR Documentation

Draw a Wrightmap

Description

Draw a Wrightmap

Usage

digram.wrightmap(
  mod,
  do = NULL,
  dimname = NULL,
  cols = collist,
  colscheme = "(.*)_.*",
  only.first.dim = F,
  verbose = T
)

Arguments

mod

Output from tam.mml or tam.fa.

do

A digram.object. Used to create title. Alternative to dimname

dimname

A string. Used to create title. Alternative to do.

cols

A vector of colors.

colscheme

A regular expression as string. Used to give items of the same type, same colors.

only.first.dim

If TRUE, only the first dimension of the model is used to draw the WrightMap.

verbose

Boolean. Set to TRUE to get information about progress.

Value

Returns a list of item difficulties as thresholds and person abilities as thetas

Examples

mod<-digram.estimate(DHP)
digram.wrightmap(mod=mod,do=DHP)

jeppebundsgaard/RDigram documentation built on Oct. 29, 2023, 7:15 p.m.