plotOrdinalFittedVariable: Function that gives the posibility for the user for plotting...

Description Usage Arguments Author(s) Examples

View source: R/plotOrdinalFittedVariable.r

Description

Graphical representation of a polytomous ordered variable previously fitted in the reduced space, according to the Ordinal Logistic Biplot theory. It can be choosen some parameters related to the way in which the variable is plotted.

Usage

1
2
3
4
5
plotOrdinalFittedVariable(nameVariable, coeffic, D,numFactors, planex = 1, planey = 2,
xi = -3.5, xu = 3.5, yi = -3.5, yu = 3.5, margin = 0,
CexVar = 0.7, ColorVar = "blue",
PchVar = 0.7, addToPlot = FALSE, showIIC = TRUE,
iicxi = -2.5, iicxu = 2.5)

Arguments

nameVariable

Name of the variable the user wants to plot.

coeffic

Vector with the estimated coefficients and the thresholds in this order.

D

Parameter of the graded response model. In case of coefficients have been estimated by Mirt this parameter should be 1.702. In other cases it should be 1.

numFactors

Number of dimensions of the solution

planex

Dimension for X axis.

planey

Dimension for Y axis.

xi

Minimum value on the x-axis.

xu

Maximum value on the x-axis.

yi

Minimum value on the y-axis.

yu

Maximum value on the y-axis.

margin

This value stablishes the space between the plotted items and the border of the window.

CexVar

Size of the category points. It can be an array with the cex information for each variable.

ColorVar

Color for the variables. It can be an array with the color information for each variable.

PchVar

Symbol for the variables. It could be an array with the pch information for each variable.

addToPlot

Boolean parameter to decide if the user wants to add the ordinal variable representation to an existing plot.

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.

Author(s)

Julio Cesar Hernandez Sanchez, Jose Luis Vicente-Villardon

Maintainer: Julio Cesar Hernandez Sanchez <juliocesar_avila@usal.es>

Examples

1
2
3
4
5
6
data(LevelSatPhd)
olbo = OrdinalLogisticBiplot(LevelSatPhd,sFormula=NULL,
      numFactors=2,method="EM",penalization=0.2)
nameVariable="Salary"
coeffic = c(olbo$coefs[1,],olbo$thresholds[1,])
plotOrdinalFittedVariable(nameVariable,coeffic,D=1,numFactors = 2)

OrdinalLogisticBiplot documentation built on May 2, 2019, 3:35 p.m.