Person Statistics

Description

This function computes some statistics for each person.

Usage

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

id

person label.

score

number of corrected responses for each person.

count

number of total items for each person.

perc

percentage of corrected responses.

Author(s)

Michela Battauz

See Also

person.stat

Examples

1
2
3
4
5
data(exam1)
pst <- person.stat(obj = exam1, col = 2:31)
head(pst)
summary(pst$score)
hist(pst$score, main = "Histogram of Scores", xlab = "")