View source: R/module_structure_operators.R
getRelativeGrade | R Documentation |
getRelativeGrade
is an operator for grade values.
getRelativeGrade(current_grade, initial_grade)
current_grade |
a string containing the current grade in the form |
initial_grade |
a string containing the initial grade in the form |
the grade difference of the current grade relative to the initial grade.
getRelativeGrade("G4", "G3") ## 1 getRelativeGrade("G5", "G3") ## 2 getRelativeGrade("G2", "G3") ## -1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.