This function takes vectors of year and raw grades in a subject and converts it into a number between 0 and 20 according to the official scoring table by Skolverket.
1 2 3 4 5 6 | scoreSubjects(object, year, ...)
## S4 method for signature 'NSR,vector'
scoreSubjects(object, year, ...)
scoreGrade(grade, year)
|
object |
An object of class NSR |
year |
A vector of graduation years for the corrsponding grade. |
... |
Grades to score. |
grade |
A vector of grades (e.g., A, E, VG, F) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.