plot.irf: A plot method for item response functions

Description Usage Arguments Author(s) See Also Examples

Description

Useful for plotting item response functions. The x argument of irf should better be left out unless something special is required.

Usage

1
2
3
## S3 method for class 'irf'
plot(x, add = FALSE, main = "Item response function",
  co = 1, label = FALSE, ...)

Arguments

x

An object produced by function irf

add

When add=T, the IRF is added to a plot, otherwise a new plot is started. Default is F.

main

The main title of the plot, given that add=F.

co

The colour of the IRF curve. Default is 1 for black. Use co=NA to plot each IRF in a different colour.

label

When label=T, individual curves will be labeled with the item number.

...

Any additional plotting parameters

Author(s)

Ivailo Partchev

See Also

irf

Examples

1
2
3
4
# plot IRF for all items in red, label with item number
plot(irf(Scored2pl), co="red", label=TRUE)
# plot IRF for items 2, 3, and 7 in different colours
plot(irf(Scored2pl, items=c(2,3,7)), co=NA)


Search within the irtoys package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.