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

1
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.

Author(s)

Michela Battauz

See Also

read.formscanner

Examples

1
2
3
4
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)