Learn R Programming

pairwise (version 0.3.1)

catprob: 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

Value

a plot or a matrix with category probabilities.

Details

no details in the moment.

Examples

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

Run the code above in your browser using DataLab