catprob {pairwise}R Documentation

Category Probability Plots

Description

plotting function for plotting category probability curves.

Usage

catprob(pair_obj, itemnumber = 1, ra = 4, plot = TRUE, ...)

Arguments

pair_obj

an object of class "pair" as a result from function pair.

itemnumber

an integer, defining the number of the item to plot the respective category probability for. This is set to an arbitrary default value of itemnumber = 1 to avoid error messages when you forget to choose an item to plot the expected score curves for.

ra

an integer, defining the (logit) range for x-axis

plot

a logical (default plot = TRUE), defining wether to supress plotting an just return a matrix of category probabilities

...

arguments passed to plot

Details

no details in the moment.

Value

a plot or a matrix with category probabilities.

Examples

########
data(sim200x3)
result <- pair(sim200x3)
catprob(pair_obj = result, itemnumber = 2 )
data(bfiN)
result <- pair(bfiN)
catprob(pair_obj = result, itemnumber = 3 )

[Package pairwise version 0.6.1-0 Index]