AdaptiveTestPlots.jl
This is a package for plotting recordings of CATs (Computerised Adaptive Tests).
Index
AdaptiveTestPlots.AdaptiveTestPlots
AdaptiveTestPlots.LabelledToggleGrid
AdaptiveTestPlots.MenuGrid
AdaptiveTestPlots.ViolinSeq
AdaptiveTestPlots.ability_evolution
AdaptiveTestPlots.lh_evolution_interactive
AdaptiveTestPlots.plot_item_bank
AdaptiveTestPlots.plot_item_bank_comparison
AdaptiveTestPlots.plot_likelihoods
AdaptiveTestPlots.violinseq
AdaptiveTestPlots.violinseq!
API
AdaptiveTestPlots.AdaptiveTestPlots
— ModuleThis module contains helpers for creating CAT/IRT related plots. This module requires the optional depedencies AlgebraOfGraphics, DataFrames and Makie to be installed.
AdaptiveTestPlots.LabelledToggleGrid
— TypeAdaptiveTestPlots.LabelledToggleGrid <: Block
No docstring defined.
Attributes
(type ?AdaptiveTestPlots.LabelledToggleGrid.x
in the REPL for more information about attribute x
)
alignmode
, halign
, height
, tellheight
, tellwidth
, valign
, width
AdaptiveTestPlots.MenuGrid
— TypeAdaptiveTestPlots.MenuGrid <: Block
No docstring defined.
Attributes
(type ?AdaptiveTestPlots.MenuGrid.x
in the REPL for more information about attribute x
)
alignmode
, halign
, height
, tellheight
, tellwidth
, valign
, width
AdaptiveTestPlots.ViolinSeq
— TypeViolinSeq
is the plot type associated with plotting function violinseq
. Check the docstring for violinseq
for further information.
AdaptiveTestPlots.ability_evolution
— Methodability_evolution(
recording::ComputerAdaptiveTesting.Sim.CatRecording
) -> AlgebraOfGraphics.FigureGrid
AdaptiveTestPlots.lh_evolution_interactive
— Methodlh_evolution_interactive(
recording;
abilities
) -> Makie.Figure
AdaptiveTestPlots.plot_item_bank
— Methodplot_item_bank(
item_bank::FittedItemBanks.AbstractItemBank;
fig,
items,
labeller,
zero_symmetric,
include_outcome_toggles,
item_selection,
include_legend
) -> Makie.Figure
Plot an item bank item_bank
with items items
using the labeller labeller
to label the items.
Lines are drawn for each item and each outcome. The domain of the item bank is used to determine the x-axis limits. You can use zero_symmetric
to force the domain to be symmetric about zero.
If include_outcome_toggles
is true, then a toggle grid is drawn to show/hide the outcomes. If item_selection
is :toggles, then a toggle grid is drawn to show/hide the items, for :menu a menu is used allowing a single item to be choseshowenn.
AdaptiveTestPlots.plot_item_bank_comparison
— Methodplot_item_bank_comparison(
item_banks::AbstractVector;
items,
labeller,
include_outcome_toggles,
include_item_toggles,
ignore_domain_indices,
lims,
grid_points,
plot_item_response_cb,
size
) -> Makie.Figure
Plot a comparison of multiple item banks item_banks
. For an explanation of the options, see: plot_item_bank
.
AdaptiveTestPlots.plot_likelihoods
— Functionplot_likelihoods(
estimators,
tracked_responses,
integrator,
xs;
...
) -> Makie.Figure
plot_likelihoods(
estimators,
tracked_responses,
integrator,
xs,
lim_lo;
...
) -> Makie.Figure
plot_likelihoods(
estimators,
tracked_responses,
integrator,
xs,
lim_lo,
lim_hi;
fig
) -> Makie.Figure
AdaptiveTestPlots.violinseq
— Functionviolin_seq(steps, xs, all_ys)
Draw a violin plot from precomputed likelihoods at different steps.
Arguments
steps
: positions of the step at which the likelihood applies (categories)xs
: points at which the likelihood was evaluatedall_ys
: precomputed likelihoods at different steps
Plot type
The plot type alias for the violinseq
function is ViolinSeq
.
Attributes
clip_planes
= automatic
— Clip planes offer a way to do clipping in 3D space. You can set a Vector of up to 8 Plane3f
planes here, behind which plots will be clipped (i.e. become invisible). By default clip planes are inherited from the parent plot or scene. You can remove parent clip_planes
by passing Plane3f[]
.
color
= @inherit patchcolor
— No docs available.
datalimits
= (-Inf, Inf)
— Specify values to trim the violin
. Can be a Tuple
or a Function
(e.g. datalimits=extrema
).
depth_shift
= 0.0
— Adjusts the depth value of a plot after all other transformations, i.e. in clip space, where -1 <= depth <= 1
. This only applies to GLMakie and WGLMakie and can be used to adjust render order (like a tunable overdraw).
dodge
= automatic
— No docs available.
dodge_gap
= 0.03
— No docs available.
fxaa
= true
— Adjusts whether the plot is rendered with fxaa (anti-aliasing, GLMakie only).
gap
= 0.2
— Shrinking factor, width -> width * (1 - gap)
.
inspectable
= @inherit inspectable
— Sets whether this plot should be seen by DataInspector
. The default depends on the theme of the parent scene.
inspector_clear
= automatic
— Sets a callback function (inspector, plot) -> ...
for cleaning up custom indicators in DataInspector.
inspector_hover
= automatic
— Sets a callback function (inspector, plot, index) -> ...
which replaces the default show_data
methods.
inspector_label
= automatic
— Sets a callback function (plot, index, position) -> string
which replaces the default label generated by DataInspector.
max_density
= automatic
— No docs available.
model
= automatic
— Sets a model matrix for the plot. This overrides adjustments made with translate!
, rotate!
and scale!
.
n_dodge
= automatic
— No docs available.
orientation
= :vertical
— Orientation of the violins (:vertical
or :horizontal
)
overdraw
= false
— Controls if the plot will draw over other plots. This specifically means ignoring depth checks in GL backends
scale
= :area
— Scale density by area (:area
) or width (:width
).
space
= :data
— Sets the transformation space for box encompassing the plot. See Makie.spaces()
for possible inputs.
ssao
= false
— Adjusts whether the plot is rendered with ssao (screen space ambient occlusion). Note that this only makes sense in 3D plots and is only applicable with fxaa = true
.
strokecolor
= @inherit patchstrokecolor
— No docs available.
strokewidth
= @inherit patchstrokewidth
— No docs available.
transformation
= :automatic
— No docs available.
transparency
= false
— Adjusts how the plot deals with transparency. In GLMakie transparency = true
results in using Order Independent Transparency.
visible
= true
— Controls whether the plot will be rendered or not.
width
= automatic
— Width of the box before shrinking.
AdaptiveTestPlots.violinseq!
— Functionviolinseq!
is the mutating variant of plotting function violinseq
. Check the docstring for violinseq
for further information.