ctt_Score: A function to score the responses to get dichotomous score,...

Description Usage Arguments Value Examples

View source: R/cttscore_function.R

Description

A function to score the responses to get dichotomous score, in order to do further analysis.

Usage

1
ctt_Score(response, key)

Arguments

response

The response matrix, each row is an examinee, each column is one item.

key

The answer key, either one value for all the items, or a vector in which each value for one item

Value

A sum score vector and a scored matrix

Examples

1
ctt_Score <- function(response=response_matrix, key=1, na=NA)

wzhranran/ACReporting documentation built on May 14, 2019, 8:37 a.m.