grade: grade offensive graffiti

View source: R/fun-grade.R

gradeR Documentation

grade offensive graffiti

Description

Check a painted slogan against its proper Latin and grade it between 0 and 1 based on the number of the words that are correct.

Usage

grade(slogan, correct = "Romani ite domum")

Arguments

slogan

slogan to grade

correct

correct form of the slogan

Value

A character vector of grades in the form of 1/3, meaning 1 out of three words are correct.


olobiolo/Rdlazer documentation built on Aug. 6, 2022, 11:37 a.m.