process_scores: Collect a series of scores (with drops)

View source: R/drop.R

process_scoresR Documentation

Collect a series of scores (with drops)

Description

Aggregate scores from matching columns, possibly after dropping some of the lowest scores.

Usage

process_scores(data, pattern, as = "hw", drop = 0,
  format = c("percent", "proportion"), ignore.case = TRUE)

Arguments

data

A data frame containing the gradebook.

pattern

A regular expression matched against the names in 'data' for selecting the columns to be aggregated.

as

A string naming the new variable to be computed.

drop

number of (lowest) items to drop.

format

One of '"percent"', "'proportion"'.

ignore.case

A logical indicating whether case should be ignored when matching 'pattern'.

Value

A data frame


rpruim/grading documentation built on May 4, 2023, 7:28 a.m.