View source: R/module_structure_operators.R
| changeGrade | R Documentation |
changeGrade is an operator for grade values.
changeGrade(grade, delta)
grade |
a string containing the current grade in the form |
delta |
a number containing the relative change in grade to apply. |
a string containing the new grade.
changeGrade("G4", 0) ## G4
changeGrade("G4", 1) ## G5
changeGrade("G4", -1) ## G3
changeGrade("G10", 1) ## G11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.