R/frgtracker.R
register_courses.Rd
For each of the course, the weights of all assessments should sum up to 1. The weights of individual assessment should be between 0 and 1.
register_courses(df)
df | A tidy data frame containing course information, with course id, all of the available assessments and corresponding weights. |
---|
None
course_df <- data.frame( course_id = c(rep(511, 6)), assessment_id = c("lab1","lab2","lab3","lab4","quiz1","quiz2"), weight = c(rep(.15, 4), rep(.2, 2))) register_courses(course_df)#> course_id lab1 lab2 lab3 lab4 quiz1 quiz2 #> 1 511 0.15 0.15 0.15 0.15 0.2 0.2