plotRout {conquestr}R Documentation

plotRout

Description

generates a plot from an 'ACER ConQuest' Rout file. use 'ConQuestRout' to read in an Rout file created by a ‘plot' command in ’ACER ConQuest'.

Usage

plotRout(myRout, ...)

## S3 method for class 'TestInfo'
plotRout(myRout, ...)

## S3 method for class 'InformationWithLatentDist'
plotRout(myRout, ...)

## S3 method for class 'ICC'
plotRout(myRout, ...)

## S3 method for class 'MCC'
plotRout(myRout, ...)

## Default S3 method:
plotRout(myRout, ...)

Arguments

myRout

an R object created by the 'ConQuestRout' function.

...

additional arguments passed into plotting functions (e.g., 'plotZero = TRUE' to control whether the 0 category is plotted in ICC and MCC).

Value

A ggplot2 object.

Examples

myPlot<- plotRout(ConQuestRout())
## Not run: 
# if you run the above example you will have a ggplot2 object, using the default Rout file (an ICC).
str(myPlot)

## End(Not run)
## to see why we import this, see https://ggplot2.tidyverse.org/articles/ggplot2-in-packages.html

[Package conquestr version 0.9.96 Index]