generate_points_frame: Generate Points Frame

Description Usage Arguments Details Value Author(s) Examples

View source: R/generate_points_frame.R

Description

Generates a data frame with dimensions No. of responses x No. of scanned exams, containing the respective no. of points per correct response.

Usage

1

Arguments

file

character, the path/filename of the csv file containing the scan results

points

named list, list with key-value pairs question_group-points (e.g., list(group001=1.5, group002=3, group003=2))

Details

The...

Value

a data.frame

Author(s)

Ulrich Matter <umatter@protonmail.com>

Examples

1
2
3
myfile <- system.file("inst/exdata/example_scan_results.csv", package="examr")
points <- list(group001=1.5, group002=3, group003=2)
my_results <- generate_points_frame(myfile, solutions)

umatter/examr documentation built on Oct. 25, 2020, 8:12 a.m.