cleanScore: Clean the scores to a simple format

Description Usage Arguments Value Author(s)

View source: R/cleanData.R

Description

Match the answer key question names with the data files. If there are multiple attempts, the attempt with the highest score is kept. If some questions in the data files are not needed for analysis and not provided in the answer key, then we use argument skip to skip them.

Usage

1
cleanScore(HWsheet, key, skip = NULL)

Arguments

HWsheet

the output of function readScore

key

the output of function convertKey

skip

a vector of integers to solve the problem like HW1 Question1

Value

a list of four objects: a data frame of scores, a vector of numbers of response for each question, a vector of full points for each question, a data frame of answers.

Author(s)

Xiaoyue Cheng <[email protected]>


introstat/ePort documentation built on May 17, 2017, 4:19 a.m.