prefmod-defunct {prefmod} | R Documentation |
Defunct Functions in Package prefmod
Description
A list of functions that are no longer part of prefmod.
Usage
plotworth(worthmat, main = "Preferences", ylab = "Estimate", psymb = NULL,
pcol = NULL, ylim = range(worthmat), ...)
Arguments
worthmat |
parameter matrix as generated from |
main |
main title of the plot. |
ylab |
y-axis label |
psymb |
plotsymbols for objects, see Details below |
pcol |
colours for objects, see Details below |
ylim |
limits for y-axis |
... |
further graphical parameters, use e.g. |
Details
plotworth()
was initially used to plot worth or model parameters from LLBT or pattern models (in a matrix created by llbt.worth()
or patt.worth()
).
Now, the generic plot
(i.e., plot.wmat()
) has to be used.
Examples
## Not run:
###################
### plotworth() ###
###################
# fit only first three objects with SEX effect
m2 <- pattPC.fit(cemspc, nitems = 3, formel = ~SEX, elim = ~SEX, undec = TRUE)
# calculate and plot worth parameters
m2worth <- patt.worth(m2)
plot.wmat(m2worth)
plot.wmat(m2worth, pcol = "terrain")
# display of some plotsymbols (pch)
plot(0:25, rep(1, 26), pch = 0:25, cex = 1.5)
text(0:25, rep(0.95, 26), 0:25)
# usage of the "RColorBrewer" package
library("RColorBrewer")
mypalette <- brewer.pal(3, "Set1")
plot.wmat(m2worth, pcol = mypalette)
## End(Not run)
[Package prefmod version 0.8-36 Index]