computeAccuracy: Compute mean accuracy as a percentage for each participant in...

Description Usage Arguments Value Examples

Description

Compute the mean of all 'a' columns (scored 1 for correct and 0 for incorrect) for each participant (row) and multiply by 100. To be called with compute().

Usage

1
computeAccuracy(x, group = c(T), na.rm = TRUE)

Arguments

x

Data frame from phd sample.

group

Logical vector used to return a group of the candidate results. See ?getCol for details.

na.rm

logical. Should missing values (including NaN) be omitted from the calculations? Default = True

Value

Accuracy vector.

Examples

1

drsimonj/jacksonphd documentation built on May 15, 2019, 2:52 p.m.