Learn R Programming

pairwise (version 0.2.2)

catprob: Category Probability Plots

Description

plotting function for plotting categoy 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 categoy 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 sco
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

to come ...

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