Description Usage Arguments Details Author(s) See Also Examples
View source: R/OrdinalLogisticBiplot.r
This function plots an Ordinal Logistic Biplot. There are parameters related to the way in which the biplot is plotted. All the posible parameters have default values.
1 2 3 4 5 6 7 8 9 10 | ## S3 method for class 'ordinal.logistic.biplot'
plot(x, planex = 1, planey = 2,
AtLeastR2 = 0.01, xlimi = -1.5, xlimu = 1.5, ylimi = -1.5,
ylimu = 1.5, margin = 0, ShowAxis = TRUE, PlotVars = TRUE,
PlotInd = TRUE, LabelVar = TRUE, LabelInd = TRUE, CexInd = NULL,
CexVar = NULL, ColorInd = NULL, ColorVar = NULL, PchInd = NULL,
PchVar = NULL, showIIC = FALSE, iicxi = -1.5, iicxu = 1.5,
legendPlot = FALSE,PlotClus = FALSE,Clusters=NULL,
chulls = TRUE,centers = TRUE,colorCluster = NULL,
ConfidentLevel=NULL,addToExistingPlot=FALSE,...)
|
x |
An object of the class ordinal.logistic.biplot. |
planex |
Dimension for X axis. |
planey |
Dimension for Y axis. |
AtLeastR2 |
It establishes the cutting value to plot a variable attending to its Nagelkerke pseudo R squared value. A variable is plotted if its pseudo R squared is higher than this value. |
xlimi |
Minimum value on the x-axis. |
xlimu |
Maximum value on the x-axis. |
ylimi |
Minimum value on the y-axis. |
ylimu |
Maximum value on the y-axis. |
margin |
This value stablishes the space between the plotted items and the border of the window. |
ShowAxis |
Should the axis be shown? |
PlotVars |
Should the variables (items) be plotted? |
PlotInd |
Should the individuals be plotted? |
LabelVar |
Should the variable labels be shown? |
LabelInd |
Should the individual labels be shown? |
CexInd |
Size of the individual points. It can be an array with the cex information for each row. |
CexVar |
Size of the category points. It can be an array with the cex information for each variable. |
ColorInd |
Color of the individual points. It can be an array with the color information for each row. |
ColorVar |
Color for the variables. It can be an array with the color information for each variable. |
PchInd |
Symbol for the individuals. It can be an array with the pch information for each row. |
PchVar |
Symbol for the variables. It could be an array with the pch information for each variable. |
showIIC |
Boolean parameter to decide if the user wants to see the item information curves for each variable. Default value is FALSE. |
iicxi |
Lower limit for the X-axis when plotting item information curves. |
iicxu |
Upper limit for the X-axis when plotting item information curves. |
legendPlot |
Boolean parameter to show the legend of the plot. Default value is FALSE. |
PlotClus |
Boolean parameter to show the clusters studied. Default value is FALSE. |
Clusters |
Variable with the cluster asociated for each item. Default value is NULL. |
chulls |
Boolean parameter to specify if convex hulls figures will be plotted . Default value is FALSE. |
centers |
Boolean parameter to plot the centers of each cluster. Default value is NULL. |
colorCluster |
Color for every cluster. It can be an array with the color information for each cluster. Default value is NULL. |
ConfidentLevel |
Value between 0 and 1 to avoid extreme values for the plot. Default value is NULL. |
addToExistingPlot |
Boolean parameter to decide if the plotted items will be added to an existing plot or not. Default value is FALSE. |
... |
Additional parameters to plot. |
The function without parameters plots the ordinal.logistic.biplot object with labels in the original data and default values for colors, symbols and sizes for points and lines. Other values of colors, symbols and sizes can be supplied. A single value applies to all the points but an array with different values can be used to improve the undestanding of the plot.-
Julio Cesar Hernandez Sanchez, Jose Luis Vicente-Villardon
Maintainer: Julio Cesar Hernandez Sanchez <juliocesar_avila@usal.es>
1 2 3 4 5 | data(LevelSatPhd)
olbo = OrdinalLogisticBiplot(LevelSatPhd,penalization=0.2)
plot(olbo,PlotInd=TRUE,xlimi=-1.5,xlimu=1.5,ylimi=-1.5,ylimu=1.5,
margin = 0.2, ColorVar = c("red","green","black","blue","yellow"),
CexVar = c(0.7),showIIC=FALSE)
|
Loading required package: mirt
Loading required package: stats4
Loading required package: lattice
Loading required package: MASS
Loading required package: NominalLogisticBiplot
Loading required package: gmodels
logLik Deviance df p-value PCC CoxSnell Macfaden
Salary -55.08723 110.17446 2 0.00000e+00 0.84 0.6830951 0.5105311
Benefits -39.68121 79.36241 2 0.00000e+00 0.91 0.8160265 0.6808381
Job Security -88.26691 176.53383 2 3.08642e-14 0.66 0.4632142 0.2605896
Job Location -39.50326 79.00652 2 0.00000e+00 0.87 0.7497408 0.6368056
Working conditions -48.99264 97.98528 2 0.00000e+00 0.80 0.6952660 0.5480735
Nagelkerke
Salary 0.7634946
Benefits 0.8900748
Job Security 0.5100689
Job Location 0.8457995
Working conditions 0.7850674
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.