plot fscores {ltm} | R Documentation |
Factor Scores - Ability Estimates Plot method
Description
Plots a Kernel Density Estimation of the distribution of the factor scores (i.e., person parameters). Provides also the option to include in the plot the item difficulty parameters (similar to the Item Person Maps).
Usage
## S3 method for class 'fscores'
plot(x, bw = "nrd0", adjust = 2, kernel = "gaussian",
include.items = FALSE, tol = 0.2, xlab = "Ability", ylab = "Density",
main = "Kernel Density Estimation for Ability Estimates",
pch = 16, cex = 1.5, ...)
Arguments
x |
an object inheriting from class |
bw , adjust , kernel |
arguments to |
include.items |
logical; if |
tol |
the tolerance used to group the item difficulty parameters, i.e., when |
xlab , ylab , main |
character string or an |
pch , cex |
arguments to |
... |
extra graphical parameters to be passed to |
Author(s)
Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl
See Also
Examples
## Factor Scores for LSAT data:
fsc <- factor.scores(rasch(LSAT))
plot(fsc, include.items = TRUE, main = "KDE for Person Parameters")
legend("left", "item parameters", pch = 16, cex = 1.5, bty = "n")