student_counts: Student-level counts (Correct/Incorrect/Missing)

View source: R/utils.R

student_countsR Documentation

Student-level counts (Correct/Incorrect/Missing)

Description

Calculates the total number of correct, incorrect, and missing answers for each student (row).

Usage

student_counts(sc)

Arguments

sc

A data.frame of scored items (0=wrong, 1=correct, NA=missing).

Value

A tibble with columns Dogru, Yanlis, and Bos.

Examples

score_df <- data.frame(m1 = c(1, 0, 1), m2 = c(0, 1, NA), m3 = c(1, 1, 1))
student_counts(score_df)

examly documentation built on Nov. 19, 2026, 5:11 p.m.