Learn R Programming

fsia (version 1.0)

item.stat: Item Statistics

Description

This function computes some statistics for each item.

Usage

item.stat(obj, columns)

Arguments

obj
An object of class fsdata containing the data imported by function read.formscanner.
columns
A vector containing which columns to use. Columns can be specified by name or number.

Value

A data frame with the following variables.
item
item label.
score
number of corrected responses.
count
number of total responses.
perc
percentage of corrected responses.

See Also

person.stat

Examples

Run this code
data(exam1)
item.stat(obj = exam1, col = 2:31)
item.stat(obj = exam1, col = c("I1","I2"))

Run the code above in your browser using DataLab