Learn R Programming

fsia (version 1.0)

report: Report the Responses

Description

This function produces a graphic with the responses given by one or a few persons and shows the correct ones.

Usage

report(obj, columns, whichid, grid = TRUE, main = "", las = 0)

Arguments

obj
An object of class fsdata containing the data imported by function read.formscanner. key should not be NULL.
columns
A vector containing which columns to use. Columns can be specified by name or number.
whichid
A vector containing the values of variable id that are shown on the graph.
grid
logical; if TRUE horizontal lines are drown on the graph.
main
an overall title for the plot.
las
numeric in 0,1,2,3; the style of axis labels (see par).

Details

Correct responses are colored green, wrong responses are colored red.

See Also

read.formscanner

Examples

Run this code
data(exam1)
report(obj = exam1, col = 2:31, whichid = c("101844", "101272"))
report(obj = exam1, col = c("I2", "I5", "I6", "I8", "I10", "I14", "I22"), 
	whichid = exam1$data$id[1:10], las= 3)

Run the code above in your browser using DataLab