- x
A S3 object of class D3mirt
.
- scale
Logical, if item vector arrow length should visualize the MDISC. If set to FALSE, the vector arrow length will be of one unit length. The default is scale = FALSE
.
- hide
Logical, if items should be plotted. The default is hide = FALSE
.
- ind.scores
Logical, should output plot respondents trait scores. The default is ind.scores = FALSE
.
- diff.level
Optional. Plotting of a single level of difficulty indicated by an integer.
- items
Optional. The user can input a list of integers indicating what item vector arrows will be visible while the remaining item vector arrows are hidden.
- item.names
Logical, if item labels should be plotted. The default is item.names = TRUE
.
- item.lab
Optional. String vector of item names that will override row names extracted from the data frame. Note that row names are not overwritten.
Instead, the string vector in item.lab
prints item labels on the item vector arrows currently displayed following the order of item vector arrows in the graphical output.
For example, when plotting in the default mode (plotting all item vectors) the labels will follow the order of the items in the data frame.
If a selection of items is plotted with items
, e.g., items = c(24,34,25)
, then the item labels will be displayed following the order of the vector in items
left to right.
In this case, item label 1 will be printed on item 24, item label 2 on item 34, and item label 3 on item 25, and so on.
- constructs
Logical, if construct vector arrows should be plotted. The default is constructs = FALSE
.
- construct.lab
Optional. String vector of names for constructs, similar to item.lab
.
- adjust.lab
Vector of parameters for the position of the item and construct labels for the text3d
function.
The first value is for horizontal adjustment, and the second is for vertical adjustment. The default is adjust.lab = c(0.5, -0.8)
.
- x.lab
Labels for x-axis, the default is x.lab = "X"
.
- y.lab
Labels for y-axis, the default is y.lab = "Y"
.
- z.lab
Labels for y-axis, the default is z.lab = "Z"
.
- title
The main title for the graphical device, plotted with the title3d()
function. The default is no title.
- line
Title placement for title3d()
. The default is line = -5
.
- font
A numeric font number from 1 to 5, the default is font = 1
. See rgl::text3d for more on font options.
- cex
A numeric character expansion value to adjust font size, the default is cex = 1
.
- font.col
Color of axes, numbers, and fonts. The default is font.col = "black"
.
- axis.scalar
Scalar multiple for adjusting the length of all axes (x, y, z) in the 3D model proportionally. The default is axis.scalar = 1.1
.
- axis.length
Optional. For adjusting the length of the axis manually by entering a numeric or a numeric vector.
For instance, c(3,2,4,3,3,2) indicate axis coordinates x = 3, -x = 3, y = 4, -y = 3, z = 3, -z = 2.
Note that a symmetric model can be created easily by adding a single numeric in the axis.length
argument (e.g., axis.length = 4
) because the function repeats the last value in the vector to cover all axes points.
The default is axis.length = NULL
.
- axis.points
Color of axis points for the points3d()
function. The default is axis.points = "black"
.
- axis.ticks
Logical, if axis ticks from the axis3d()
function should be plotted. The default is axis.ticks = TRUE
.
- nticks
Number of ticks for axis3d()
.
The function repeats the last numeric value in the vector to cover all axis.
The user can, therefore, adjust the number of ticks with one numeric value (e.g., nticks = 6
) or up to three (e.g., nticks = c(6,4,8)
corresponding to the for the x, y, and z axes respectively.
The default is nticks = 4
.
- width.rgl.x
Width in the x direction for par3d()
. The default is width.rgl.x = 1040
.
- width.rgl.y
Width in the y direction for par3d()
. The default is width.rgl.y = 1040
.
- view
Vector with polar coordinates and zoom factor for the view3d
function. The default is view = c(15,20, 1)
.
- show.plane
Logical, if xz-plane should be visible in the graphical device. The default is show.plane = TRUE
.
- plane.col
Color of the plane, the default is plane.col = "grey80"
.
- background
Set background color for the graphical device, the default is background = "white"
.
- type
Type of vector arrow for items, the default is type = "rotation"
. See rgl::arrow3d for more options regarding arrow types.
- col
Vector of colors representing difficulty levels for item response functions used in arrow3d()
. The default is col = c("black", "grey20", "grey40", "grey60", "grey80")
.
- arrow.width
Width of vector arrows for arrow3d()
. The default is arrow.width = 0.6
.
- n
Number of barbs for the vector arrows from arrow3d()
. The default is n = 20
.
- theta
Opening angle of barbs for vector arrows from arrow3d()
. The default is theta = 0.2
.
- barblen
The length of the barbs for vector arrows from arrow3d()
. The default is barblen = 0.03
.
- c.scalars
Set of scalars for adjusting construct arrow length proportionally.
The first numeric adjusts the length in the positive direction, and the second numeric the length in the negative direction. The default is c.scalars = c(1,1)
.
- c.type
Type of vector arrow for constructs. See rgl::arrow3d for more options regarding arrow types. The default is c.type = "rotation"
.
- c.col
Color of construct vector arrows from arrow3d()
, the default is c.col = "black"
.
- c.arrow.width
Width of construct vector arrows for arrow3d()
. The default is c.arrow.width = 0.6
.
- c.n
Number of barbs for the construct vector arrows from the arrow3d()
function. The default is c.n = 20
.
- c.theta
Opening angle of barbs for construct vector arrows from arrow3d()
. The default is c.theta = 0.2
.
- c.barblen
The length of the barbs for construct vector arrows from arrow3d()
. The default is c.barblen = 0.03
.
- profiles
Data frame with coordinates for spheres representing a subset of respondent scores. The default is profiles = NULL
.
- levels
Optional. A column with values indicating levels for sphere colors from the sphere.col
vector. The default is levels = NULL
.
- sphere.col
Color vector for spheres3d()
. The default is sphere.col = c("black", "grey20", "grey40", "grey60", "grey80")
.
- spheres.r
Radius of the spheres for spheres3d()
. The default is spheres.r = 0.05
.
- ci
Logical, if spheres should include an ellipsoid outlining a confidence region returned from the ellipse3d()
function. The default is ci = FALSE
.
- ci.level
Level of confidence for ellipse3d()
, the default is ci.level = 0.95
.
- ellipse.col
Color of the ellipse from ellipse3d()
. The default is ellipse.col = "grey80"
.
- ellipse.alpha
Opacity for the confidence region from ellipse3d()
. The default is ellipse.alpha = 0.20
.
- ...
Additional arguments passed to RGL or methods.